Generated at 2020-10-11T16:23:40+0000 for charles.hoffman@me.com. This page will remain online for about 48 hours.

Report

Submitted: http://www.sec.gov/Archives/edgar/data/789019/000156459017014900/msft-20170630.xml
For more information: http://logicalcontracts.com/xbrl-and-sbrm-reporting/
DISCLAIMER: this analysis is provided by software still under development, and likely incomplete or even erroneous; do NOT use it other than for experimental, inconsequential purposes

User Alterations

NONE

 

Table of Contents

TERMS
100000 - Document - Document and Entity InformationStructuresFacts
100010 - Statement - INCOME STATEMENTSStructuresFacts
100020 - Statement - COMPREHENSIVE INCOME STATEMENTSStructuresFacts
100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical)StructuresFacts
100040 - Statement - BALANCE SHEETSStructuresFacts
100050 - Statement - BALANCE SHEETS (Parenthetical)StructuresFacts
100060 - Statement - CASH FLOWS STATEMENTSStructuresFacts
100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTSStructuresFacts
100080 - Disclosure - ACCOUNTING POLICIESStructuresFacts
100090 - Disclosure - EARNINGS PER SHAREStructuresFacts
100100 - Disclosure - OTHER INCOME (EXPENSE), NETStructuresFacts
100110 - Disclosure - INVESTMENTSStructuresFacts
100120 - Disclosure - DERIVATIVESStructuresFacts
100130 - Disclosure - FAIR VALUE MEASUREMENTSStructuresFacts
100140 - Disclosure - INVENTORIESStructuresFacts
100150 - Disclosure - PROPERTY AND EQUIPMENTStructuresFacts
100160 - Disclosure - BUSINESS COMBINATIONSStructuresFacts
100170 - Disclosure - GOODWILLStructuresFacts
100180 - Disclosure - INTANGIBLE ASSETSStructuresFacts
100190 - Disclosure - DEBTStructuresFacts
100200 - Disclosure - INCOME TAXESStructuresFacts
100210 - Disclosure - RESTRUCTURING CHARGESStructuresFacts
100220 - Disclosure - UNEARNED REVENUEStructuresFacts
100230 - Disclosure - COMMITMENTSStructuresFacts
100240 - Disclosure - CONTINGENCIESStructuresFacts
100250 - Disclosure - STOCKHOLDERS' EQUITYStructuresFacts
100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOMEStructuresFacts
100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANSStructuresFacts
100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATAStructuresFacts
100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED)StructuresFacts
100300 - Disclosure - ACCOUNTING POLICIES (Policies)StructuresFacts
100310 - Disclosure - ACCOUNTING POLICIES (Tables)StructuresFacts
100320 - Disclosure - EARNINGS PER SHARE (Tables)StructuresFacts
100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables)StructuresFacts
100340 - Disclosure - INVESTMENTS (Tables)StructuresFacts
100350 - Disclosure - DERIVATIVES (Tables)StructuresFacts
100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)StructuresFacts
100370 - Disclosure - INVENTORIES (Tables)StructuresFacts
100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables)StructuresFacts
100390 - Disclosure - BUSINESS COMBINATIONS (Tables)StructuresFacts
100400 - Disclosure - GOODWILL (Tables)StructuresFacts
100410 - Disclosure - INTANGIBLE ASSETS (Tables)StructuresFacts
100420 - Disclosure - DEBT (Tables)StructuresFacts
100430 - Disclosure - INCOME TAXES (Tables)StructuresFacts
100440 - Disclosure - RESTRUCTURING CHARGES (Tables)StructuresFacts
100450 - Disclosure - UNEARNED REVENUE (Tables)StructuresFacts
100460 - Disclosure - COMMITMENTS (Tables)StructuresFacts
100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables)StructuresFacts
100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)StructuresFacts
100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables)StructuresFacts
100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables)StructuresFacts
100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables)StructuresFacts
100520 - Disclosure - Accounting Policies - Additional Information (Detail)StructuresFacts
100530 - Disclosure - Allowance for Doubtful Accounts (Detail)StructuresFacts
100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail)StructuresFacts
100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail)StructuresFacts
100560 - Disclosure - Components of Other Income (Expense), Net (Detail)StructuresFacts
100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail)StructuresFacts
100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail)StructuresFacts
100590 - Disclosure - Investments - Cost Method - Additional Information (Detail)StructuresFacts
100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail)StructuresFacts
100610 - Disclosure - Unrealized Losses on Investments (Detail)StructuresFacts
100620 - Disclosure - Debt Investment Maturities (Detail)StructuresFacts
100630 - Disclosure - Derivatives - Additional Information (Detail)StructuresFacts
100640 - Disclosure - Fair Values of Derivative Instruments (Detail)StructuresFacts
100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail)StructuresFacts
100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)StructuresFacts
100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail)StructuresFacts
100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail)StructuresFacts
100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)StructuresFacts
100700 - Disclosure - Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation (Detail)StructuresFacts
100710 - Disclosure - Components of Inventories (Detail)StructuresFacts
100720 - Disclosure - Components of Property and Equipment (Detail)StructuresFacts
100730 - Disclosure - Property and Equipment - Additional Information (Detail)StructuresFacts
100740 - Disclosure - Business Combinations - Additional Information (Detail)StructuresFacts
100750 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Detail)StructuresFacts
100760 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Parenthetical) (Detail)StructuresFacts
100770 - Disclosure - Acquired Intangible Assets (Detail)StructuresFacts
100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail)StructuresFacts
100790 - Disclosure - Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period (Detail)StructuresFacts
100800 - Disclosure - Carrying Amount of Goodwill (Detail)StructuresFacts
100810 - Disclosure - Goodwill - Additional Information (Detail)StructuresFacts
100820 - Disclosure - Finite-Lived Intangible Assets (Detail)StructuresFacts
100830 - Disclosure - Finite-Lived Intangible Assets (Parenthetical) (Detail)StructuresFacts
100840 - Disclosure - Intangible Assets - Additional Information (Detail)StructuresFacts
100850 - Disclosure - Intangible Assets Acquired (Detail)StructuresFacts
100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail)StructuresFacts
100870 - Disclosure - Debt - Additional Information (Detail)StructuresFacts
100880 - Disclosure - Long-term Debt (Detail)StructuresFacts
100890 - Disclosure - Long-term Debt (Parenthetical) (Detail)StructuresFacts
100900 - Disclosure - Maturities of Long-term Debt (Detail)StructuresFacts
100910 - Disclosure - Provision for Income Taxes (Detail)StructuresFacts
100920 - Disclosure - Income Taxes - Additional Information (Detail)StructuresFacts
100930 - Disclosure - Income (Loss) Before Income Taxes (Detail)StructuresFacts
100940 - Disclosure - Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail)StructuresFacts
100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail)StructuresFacts
100960 - Disclosure - Changes in Unrecognized Tax Benefits (Detail)StructuresFacts
100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail)StructuresFacts
100980 - Disclosure - Restructuring Charges - Additional Information (Detail)StructuresFacts
100990 - Disclosure - Changes in Restructuring Liability (Detail)StructuresFacts
101000 - Disclosure - Unearned Revenue by Segment (Detail)StructuresFacts
101010 - Disclosure - Commitments - Additional Information (Detail)StructuresFacts
101020 - Disclosure - Future Minimum Rental Commitments Under Non-cancellable Operating Leases (Detail)StructuresFacts
101030 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Detail)StructuresFacts
101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail)StructuresFacts
101050 - Disclosure - Contingencies - Additional Information (Detail)StructuresFacts
101060 - Disclosure - Shares of Common Stock Outstanding (Detail)StructuresFacts
101070 - Disclosure - Stockholders' Equity - Additional Information (Detail)StructuresFacts
101080 - Disclosure - Share Repurchases (Detail)StructuresFacts
101090 - Disclosure - Dividends Declared (Detail)StructuresFacts
101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail)StructuresFacts
101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail)StructuresFacts
101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail)StructuresFacts
101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail)StructuresFacts
101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail)StructuresFacts
101150 - Disclosure - Stock Plan Activity (Detail)StructuresFacts
101160 - Disclosure - Stock Plan Activity (Parenthetical) (Detail)StructuresFacts
101170 - Disclosure - Employee Purchased Shares (Detail)StructuresFacts
101180 - Disclosure - Segment Revenue (Detail)StructuresFacts
101190 - Disclosure - Operating Income (Loss) by Segment (Detail)StructuresFacts
101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail)StructuresFacts
101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail)StructuresFacts
101220 - Disclosure - Revenue Classified by Major Geographic Areas (Detail)StructuresFacts
101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail)StructuresFacts
101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail)StructuresFacts
101250 - Disclosure - Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail)StructuresFacts
101260 - Disclosure - Quarterly Information (Unaudited) (Detail)StructuresFacts
101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail)StructuresFacts
RULES
Errors and Warnings

 

Terms

Terms shown are only those effectively used by the report instance.

#LabelData TypePeriod TypeBalance TypeAbstractPrefixName, Documentation, References
1Award Type [Axis]xbrli:stringItemTypedurationtrueus-gaap

AwardTypeAxis

2us-gaap:AccountingStandardsUpdate201409Member (label)nonnum:domainItemTypedurationtrueus-gaap

AccountingStandardsUpdate201409Member

3us-gaap:AccountingStandardsUpdate201602Member (label)nonnum:domainItemTypedurationtrueus-gaap

AccountingStandardsUpdate201602Member

4Accounting Policies [Abstract]xbrli:stringItemTypedurationtrueus-gaap

AccountingPoliciesAbstract

5us-gaap:AccountsReceivableNetCurrent (label)xbrli:monetaryItemTypeinstantdebitus-gaap

AccountsReceivableNetCurrent

6Accounts Payable Currentxbrli:monetaryItemTypeinstantcreditus-gaap

AccountsPayableCurrent

7Accrued Income Taxes Currentxbrli:monetaryItemTypeinstantcreditus-gaap

AccruedIncomeTaxesCurrent

8Accrued Income Taxes Noncurrentxbrli:monetaryItemTypeinstantcreditus-gaap

AccruedIncomeTaxesNoncurrent

9Accumulated Other Comprehensive Income Loss [Table]xbrli:stringItemTypedurationtrueus-gaap

AccumulatedOtherComprehensiveIncomeLossTable

10Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]nonnum:domainItemTypedurationtrueus-gaap

AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember

11Accumulated Other Comprehensive Income Loss [Line Items]xbrli:stringItemTypedurationtrueus-gaap

AccumulatedOtherComprehensiveIncomeLossLineItems

12Accumulated Other Comprehensive Income Loss Net Of Taxxbrli:monetaryItemTypeinstantcreditus-gaap

AccumulatedOtherComprehensiveIncomeLossNetOfTax

13Accumulated Net Unrealized Investment Gain Loss [Member]nonnum:domainItemTypedurationtrueus-gaap

AccumulatedNetUnrealizedInvestmentGainLossMember

14us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment (label)xbrli:monetaryItemTypeinstantcreditus-gaap

AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment

15Accumulated Other Comprehensive Income [Member]nonnum:domainItemTypedurationtrueus-gaap

AccumulatedOtherComprehensiveIncomeMember

16Acquired Finite Lived Intangible Assets Weighted Average Useful Lifexbrli:durationItemTypedurationus-gaap

AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife

17Acquired Finite Lived Intangible Assets [Line Items]xbrli:stringItemTypedurationtrueus-gaap

AcquiredFiniteLivedIntangibleAssetsLineItems

18Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Netxbrli:monetaryItemTypedurationcreditus-gaap

AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet

19Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract]xbrli:stringItemTypedurationtrueus-gaap

AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract

20Adjustments For New Accounting Pronouncements [Axis]xbrli:stringItemTypedurationtrueus-gaap

AdjustmentsForNewAccountingPronouncementsAxis

21Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Valuexbrli:monetaryItemTypedurationcreditus-gaap

AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue

22Advertising Expensexbrli:monetaryItemTypedurationdebitus-gaap

AdvertisingExpense

23Allocated Share Based Compensation Expensexbrli:monetaryItemTypedurationdebitus-gaap

AllocatedShareBasedCompensationExpense

24Allowance For Doubtful Accounts Receivable Currentxbrli:monetaryItemTypeinstantcreditus-gaap

AllowanceForDoubtfulAccountsReceivableCurrent

25Allowance For Doubtful Accounts [Member]nonnum:domainItemTypedurationtrueus-gaap

AllowanceForDoubtfulAccountsMember

26Amortization Of Intangible Assetsxbrli:monetaryItemTypedurationdebitus-gaap

AmortizationOfIntangibleAssets

27us-gaap:AssetImpairmentCharges (label)xbrli:monetaryItemTypedurationdebitus-gaap

AssetImpairmentCharges

28Asset Backed Securities [Member]nonnum:domainItemTypedurationtrueus-gaap

AssetBackedSecuritiesMember

29us-gaap:AssetsFairValueDisclosureRecurring (label)xbrli:monetaryItemTypeinstantdebitus-gaap

AssetsFairValueDisclosureRecurring

30Assets [Abstract]xbrli:stringItemTypedurationtrueus-gaap

AssetsAbstract

31Assetsxbrli:monetaryItemTypeinstantdebitus-gaap

Assets

32Assets Current [Abstract]xbrli:stringItemTypedurationtrueus-gaap

AssetsCurrentAbstract

33Assets Currentxbrli:monetaryItemTypeinstantdebitus-gaap

AssetsCurrent

34Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Lossxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss

35Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Lossxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss

36Available For Sale Securities Continuous Unrealized Loss Position Accumulated Lossxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss

37Available For Sale Securities Debt Maturities Rolling After Year Ten Amortized Cost Basisxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis

38Available For Sale Securities Debt Maturities Rolling Year Two Through Five Amortized Cost Basisxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis

39Available For Sale Securities Accumulated Gross Unrealized Gain Before Taxxbrli:monetaryItemTypeinstantcreditus-gaap

AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax

40Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Valuexbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue

41Available For Sale Securities Continuous Unrealized Loss Position Fair Valuexbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue

42Available For Sale Securities Debt Maturities Rolling Year Six Through Ten Fair Valuexbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue

43us-gaap:AvailableForSaleSecuritiesCurrent (label)xbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesCurrent

44Available For Sale Securities Debt Maturities Next Rolling Twelve Months Amortized Cost Basisxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis

45Available For Sale Securities Debt Maturities Rolling After Year Ten Fair Valuexbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue

46us-gaap:AvailableForSaleSecurities (label)xbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecurities

47Available For Sale Securities Accumulated Gross Unrealized Loss Before Taxxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax

48Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Valuexbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue

49Available For Sale Securities Debt Maturities Rolling Year Two Through Five Fair Valuexbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue

50Available For Sale Securities Debt Maturities Amortized Cost Basis Rolling Maturity [Abstract]xbrli:stringItemTypedurationtrueus-gaap

AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostBasisRollingMaturityAbstract

51Available For Sale Securities Debt Maturities Fair Value Rolling Maturity [Abstract]xbrli:stringItemTypedurationtrueus-gaap

AvailableForSaleSecuritiesDebtMaturitiesFairValueRollingMaturityAbstract

52Available For Sale Securities Debt Maturities Next Rolling Twelve Months Fair Valuexbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue

53Available For Sale Securities Debt Maturities Rolling Year Six Through Ten Amortized Cost Basisxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis

54Available For Sale Securities Amortized Costxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesAmortizedCost

55Available For Sale Debt Securities Amortized Cost Basisxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleDebtSecuritiesAmortizedCostBasis

56Available For Sale Securities Debt Securitiesxbrli:monetaryItemTypeinstantdebitus-gaap

AvailableForSaleSecuritiesDebtSecurities

57Available For Sale Securities Gross Realized Lossesxbrli:monetaryItemTypedurationdebitus-gaap

AvailableForSaleSecuritiesGrossRealizedLosses

58Available For Sale Securities Gross Realized Gainsxbrli:monetaryItemTypedurationcreditus-gaap

AvailableForSaleSecuritiesGrossRealizedGains

59Balance Sheet Location [Domain]nonnum:domainItemTypedurationtrueus-gaap

BalanceSheetLocationDomain

60Balance Sheet Location [Axis]xbrli:stringItemTypedurationtrueus-gaap

BalanceSheetLocationAxis

61Basis Of Accounting Policy Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

BasisOfAccountingPolicyPolicyTextBlock

62Building And Building Improvements [Member]nonnum:domainItemTypedurationtrueus-gaap

BuildingAndBuildingImprovementsMember

63Building [Member]nonnum:domainItemTypedurationtrueus-gaap

BuildingMember

64Buildings And Improvements Grossxbrli:monetaryItemTypeinstantdebitus-gaap

BuildingsAndImprovementsGross

65Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Deferred Tax Liabilities Noncurrentxbrli:monetaryItemTypeinstantcreditus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent

66Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Marketable Securitiesxbrli:monetaryItemTypeinstantdebitus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities

67Business Acquisition Effective Date Of Acquisition1xbrli:dateItemTypedurationus-gaap

BusinessAcquisitionEffectiveDateOfAcquisition1

68Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Otherxbrli:monetaryItemTypeinstantdebitus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther

69Business Acquisitions Pro Forma Revenuexbrli:monetaryItemTypedurationcreditus-gaap

BusinessAcquisitionsProFormaRevenue

70Business Acquisition Acquiree [Domain]nonnum:domainItemTypedurationtrueus-gaap

BusinessAcquisitionAcquireeDomain

71Business Acquisition [Axis]xbrli:stringItemTypedurationtrueus-gaap

BusinessAcquisitionAxis

72Business Combinations [Abstract]xbrli:stringItemTypedurationtrueus-gaap

BusinessCombinationsAbstract

73Business Acquisitions Pro Forma Net Income Lossxbrli:monetaryItemTypedurationcreditus-gaap

BusinessAcquisitionsProFormaNetIncomeLoss

74Business Acquisition [Line Items]xbrli:stringItemTypedurationtrueus-gaap

BusinessAcquisitionLineItems

75Business Combination Consideration Transferred1xbrli:monetaryItemTypedurationcreditus-gaap

BusinessCombinationConsiderationTransferred1

76Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Otherxbrli:monetaryItemTypeinstantcreditus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther

77Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Cash And Equivalentsxbrli:monetaryItemTypeinstantdebitus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents

78Business Acquisition Name Of Acquired Entityxbrli:stringItemTypedurationus-gaap

BusinessAcquisitionNameOfAcquiredEntity

79Business Acquisition Pro Forma Earnings Per Share Dilutednum:perShareItemTypedurationus-gaap

BusinessAcquisitionProFormaEarningsPerShareDiluted

80Business Acquisition Pro Forma Information [Text Block]nonnum:textBlockItemTypedurationus-gaap

BusinessAcquisitionProFormaInformationTextBlock

81Business Acquisition Purchase Price Allocation Goodwill Expected Tax Deductible Amountxbrli:monetaryItemTypeinstantdebitus-gaap

BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount

82Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Property Plant And Equipmentxbrli:monetaryItemTypeinstantdebitus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment

83us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)xbrli:monetaryItemTypeinstantdebitus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles

84Business Combination Pro Forma Information Earnings Or Loss Of Acquiree Since Acquisition Date Actualxbrli:monetaryItemTypedurationcreditus-gaap

BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual

85Business Combination Recognized Identifiable Assets Acquired Goodwill And Liabilities Assumed Netxbrli:monetaryItemTypeinstantdebitus-gaap

BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet

86Business Combination Pro Forma Information Revenue Of Acquiree Since Acquisition Date Actualxbrli:monetaryItemTypedurationcreditus-gaap

BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual

87Capital Lease Obligations Incurredxbrli:monetaryItemTypedurationcreditus-gaap

CapitalLeaseObligationsIncurred

88Capital Leases Future Minimum Payments Due In Three Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesFutureMinimumPaymentsDueInThreeYears

89Capital Leases Future Minimum Payments Due [Abstract]xbrli:stringItemTypedurationtrueus-gaap

CapitalLeasesFutureMinimumPaymentsDueAbstract

90Capital Leases Future Minimum Payments Duexbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesFutureMinimumPaymentsDue

91Capital Leases Future Minimum Payments Due In Five Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesFutureMinimumPaymentsDueInFiveYears

92Capital Leased Assets Grossxbrli:monetaryItemTypeinstantdebitus-gaap

CapitalLeasedAssetsGross

93Capital Leases Future Minimum Payments Due Thereafterxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesFutureMinimumPaymentsDueThereafter

94Capital Leases Future Minimum Payments Due Currentxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesFutureMinimumPaymentsDueCurrent

95Capital Lease Obligations Currentxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeaseObligationsCurrent

96Capital Leases Future Minimum Payments Due In Two Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesFutureMinimumPaymentsDueInTwoYears

97Capital Leases Future Minimum Payments Due In Four Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesFutureMinimumPaymentsDueInFourYears

98Capital Lease Obligations Noncurrentxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeaseObligationsNoncurrent

99Capital Leases Lessee Balance Sheet Assets By Major Class Accumulated Deprecationxbrli:monetaryItemTypeinstantcreditus-gaap

CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation

100Capital Leases Future Minimum Payments Interest Included In Paymentsxbrli:monetaryItemTypeinstantdebitus-gaap

CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments

101Capital Unit [Line Items]xbrli:stringItemTypedurationtrueus-gaap

CapitalUnitLineItems

102Capitalized Computer Software Amortization1xbrli:monetaryItemTypedurationdebitus-gaap

CapitalizedComputerSoftwareAmortization1

103Capitalized Software Development Costs For Software Sold To Customersxbrli:monetaryItemTypeinstantdebitus-gaap

CapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers

104us-gaap:Cash (label)xbrli:monetaryItemTypeinstantdebitus-gaap

Cash

105us-gaap:CashAndCashEquivalentsAtCarryingValue (label)xbrli:monetaryItemTypeinstantdebitus-gaap

CashAndCashEquivalentsAtCarryingValue

106Cash [Member]nonnum:domainItemTypedurationtrueus-gaap

CashMember

107Cash And Cash Equivalents Period Increase Decreasexbrli:monetaryItemTypedurationdebitus-gaap

CashAndCashEquivalentsPeriodIncreaseDecrease

108Cash And Cash Equivalents [Abstract]xbrli:stringItemTypedurationtrueus-gaap

CashAndCashEquivalentsAbstract

109Cash Flow Hedging [Member]nonnum:domainItemTypedurationtrueus-gaap

CashFlowHedgingMember

110Cash Cash Equivalents And Short Term Investmentsxbrli:monetaryItemTypeinstantdebitus-gaap

CashCashEquivalentsAndShortTermInvestments

111Certificates Of Deposit [Member]nonnum:domainItemTypedurationtrueus-gaap

CertificatesOfDepositMember

112Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1xbrli:monetaryItemTypedurationcreditus-gaap

ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1

113Change In Unrealized Gain Loss On Fair Value Hedging Instruments1xbrli:monetaryItemTypedurationcreditus-gaap

ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1

114Commercial Paper [Member]nonnum:domainItemTypedurationtrueus-gaap

CommercialPaperMember

115Commercial Paperxbrli:monetaryItemTypeinstantcreditus-gaap

CommercialPaper

116Commitments Fair Value Disclosurexbrli:monetaryItemTypeinstantcreditus-gaap

CommitmentsFairValueDisclosure

117Commitments And Contingenciesxbrli:monetaryItemTypeinstantcreditus-gaap

CommitmentsAndContingencies

118Commitments Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

CommitmentsDisclosureTextBlock

119Commitments And Contingencies Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

CommitmentsAndContingenciesDisclosureAbstract

120Commodity Contract [Member]nonnum:domainItemTypedurationtrueus-gaap

CommodityContractMember

121Common Stock Including Additional Paid In Capital [Member]nonnum:domainItemTypedurationtrueus-gaap

CommonStockIncludingAdditionalPaidInCapitalMember

122us-gaap:CommonStockDividendsPerShareDeclared (label)num:perShareItemTypedurationus-gaap

CommonStockDividendsPerShareDeclared

123Common Stock Shares Authorizedxbrli:sharesItemTypeinstantus-gaap

CommonStockSharesAuthorized

124Common Stocks Including Additional Paid In Capitalxbrli:monetaryItemTypeinstantcreditus-gaap

CommonStocksIncludingAdditionalPaidInCapital

125us-gaap:CommonStockSharesOutstanding (label)xbrli:sharesItemTypeinstantus-gaap

CommonStockSharesOutstanding

126Compensation And Employee Benefit Plans [Text Block]nonnum:textBlockItemTypedurationus-gaap

CompensationAndEmployeeBenefitPlansTextBlock

127Component Of Other Income Nonoperating [Line Items]xbrli:stringItemTypedurationtrueus-gaap

ComponentOfOtherIncomeNonoperatingLineItems

128Comprehensive Income Net Of Taxxbrli:monetaryItemTypedurationcreditus-gaap

ComprehensiveIncomeNetOfTax

129Comprehensive Income Note [Text Block]nonnum:textBlockItemTypedurationus-gaap

ComprehensiveIncomeNoteTextBlock

130Computer Equipment [Member]nonnum:domainItemTypedurationtrueus-gaap

ComputerEquipmentMember

131Consolidation Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

ConsolidationPolicyTextBlock

132Consolidation Items [Axis]xbrli:stringItemTypedurationtrueus-gaap

ConsolidationItemsAxis

133Consolidation Items [Domain]nonnum:domainItemTypedurationtrueus-gaap

ConsolidationItemsDomain

134Contractual Rights [Member]nonnum:domainItemTypedurationtrueus-gaap

ContractualRightsMember

135Corporate Debt Securities [Member]nonnum:domainItemTypedurationtrueus-gaap

CorporateDebtSecuritiesMember

136Cost Of Revenue [Abstract]xbrli:stringItemTypedurationtrueus-gaap

CostOfRevenueAbstract

137us-gaap:CostMethodInvestments (label)xbrli:monetaryItemTypeinstantdebitus-gaap

CostMethodInvestments

138Cost Of Goods Soldxbrli:monetaryItemTypedurationdebitus-gaap

CostOfGoodsSold

139Cost Of Revenuexbrli:monetaryItemTypedurationdebitus-gaap

CostOfRevenue

140Cost Of Sales Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

CostOfSalesPolicyTextBlock

141Credit Risk Contract [Member]nonnum:domainItemTypedurationtrueus-gaap

CreditRiskContractMember

142Current Income Tax Expense Benefitxbrli:monetaryItemTypedurationdebitus-gaap

CurrentIncomeTaxExpenseBenefit

143Current State And Local Tax Expense Benefitxbrli:monetaryItemTypedurationdebitus-gaap

CurrentStateAndLocalTaxExpenseBenefit

144Current Foreign Tax Expense Benefitxbrli:monetaryItemTypedurationdebitus-gaap

CurrentForeignTaxExpenseBenefit

145Current Income Tax Expense Benefit Continuing Operations [Abstract]xbrli:stringItemTypedurationtrueus-gaap

CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract

146Current Federal Tax Expense Benefitxbrli:monetaryItemTypedurationdebitus-gaap

CurrentFederalTaxExpenseBenefit

147Customer Relationships [Member]nonnum:domainItemTypedurationtrueus-gaap

CustomerRelationshipsMember

148Designated As Hedging Instrument [Member]nonnum:domainItemTypedurationtrueus-gaap

DesignatedAsHedgingInstrumentMember

149Debt Instrument [Axis]xbrli:stringItemTypedurationtrueus-gaap

DebtInstrumentAxis

150Debt Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

DebtDisclosureTextBlock

151Debt Instrument Termxbrli:durationItemTypedurationus-gaap

DebtInstrumentTerm

152Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Netxbrli:monetaryItemTypeinstantdebitus-gaap

DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet

153Debt Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DebtDisclosureAbstract

154Debt Instrument Maturity Datexbrli:dateItemTypedurationus-gaap

DebtInstrumentMaturityDate

155Debt Instrument Credit Ratingxbrli:stringItemTypedurationus-gaap

DebtInstrumentCreditRating

156Debt Instrument Interest Rate Stated Percentagenum:percentItemTypeinstantus-gaap

DebtInstrumentInterestRateStatedPercentage

157Debt Instrument Interest Rate Effective Percentagenum:percentItemTypeinstantus-gaap

DebtInstrumentInterestRateEffectivePercentage

158Debt Instrument [Table]xbrli:stringItemTypedurationtrueus-gaap

DebtInstrumentTable

159Debt Instrument [Line Items]xbrli:stringItemTypedurationtrueus-gaap

DebtInstrumentLineItems

160us-gaap:DebtInstrumentFaceAmount (label)xbrli:monetaryItemTypeinstantcreditus-gaap

DebtInstrumentFaceAmount

161Debt Instrument Name [Domain]nonnum:domainItemTypedurationtrueus-gaap

DebtInstrumentNameDomain

162Deferred Tax Liability Not Recognized Amount Of Unrecognized Deferred Tax Liability Undistributed Earnings Of Foreign Subsidiariesxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries

163Deferred Federal State And Local Tax Expense Benefitxbrli:monetaryItemTypedurationdebitus-gaap

DeferredFederalStateAndLocalTaxExpenseBenefit

164Deferred Revenue Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DeferredRevenueDisclosureAbstract

165Deferred Compensation Arrangement With Individual Postretirement Benefits By Type Of Deferred Compensation [Axis]xbrli:stringItemTypedurationtrueus-gaap

DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis

166Deferred Foreign Income Tax Expense Benefitxbrli:monetaryItemTypedurationdebitus-gaap

DeferredForeignIncomeTaxExpenseBenefit

167us-gaap:DeferredIncomeTaxExpenseBenefit (label)xbrli:monetaryItemTypedurationdebitus-gaap

DeferredIncomeTaxExpenseBenefit

168Deferred Income Tax Liabilitiesxbrli:monetaryItemTypeinstantcreditus-gaap

DeferredIncomeTaxLiabilities

169Deferred Income Tax Expense Benefit Continuing Operations [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract

170Deferred Revenue Noncurrentxbrli:monetaryItemTypeinstantcreditus-gaap

DeferredRevenueNoncurrent

171Deferred Revenue Arrangement Type [Domain]nonnum:domainItemTypedurationtrueus-gaap

DeferredRevenueArrangementTypeDomain

172Deferred Revenue Currentxbrli:monetaryItemTypeinstantcreditus-gaap

DeferredRevenueCurrent

173Deferred Revenuexbrli:monetaryItemTypeinstantcreditus-gaap

DeferredRevenue

174Deferred Revenue Arrangement By Type [Table]xbrli:stringItemTypedurationtrueus-gaap

DeferredRevenueArrangementByTypeTable

175Deferred Revenue Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

DeferredRevenueDisclosureTextBlock

176Deferred Revenue Arrangement [Line Items]xbrli:stringItemTypedurationtrueus-gaap

DeferredRevenueArrangementLineItems

177Deferred Revenue Arrangement Type [Axis]xbrli:stringItemTypedurationtrueus-gaap

DeferredRevenueArrangementTypeAxis

178Deferred Tax Assets Otherxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsOther

179us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (label)xbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsOperatingLossCarryforwards

180Deferred Tax Assets Liabilities Netxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsLiabilitiesNet

181Deferred Tax Assets Grossxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsGross

182Deferred Tax Assets Netxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsNet

183Deferred Tax Assets Net [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DeferredTaxAssetsNetAbstract

184Deferred Tax Assets Deferred Incomexbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsDeferredIncome

185Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Impairment Lossesxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses

186Deferred Tax Assets Tax Deferred Expense Otherxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsTaxDeferredExpenseOther

187Deferred Tax Assets Tax Deferred Expense Reserves And Accruals Restructuring Chargesxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges

188us-gaap:DeferredTaxAssetsValuationAllowance (label)xbrli:monetaryItemTypeinstantcreditus-gaap

DeferredTaxAssetsValuationAllowance

189Deferred Tax Assets Tax Deferred Expense Compensation And Benefits Share Based Compensation Costxbrli:monetaryItemTypeinstantdebitus-gaap

DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost

190Deferred Tax Liabilities [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DeferredTaxLiabilitiesAbstract

191Deferred Tax Liabilities Noncurrentxbrli:monetaryItemTypeinstantcreditus-gaap

DeferredTaxLiabilitiesNoncurrent

192Deferred Tax Liabilitiesxbrli:monetaryItemTypeinstantcreditus-gaap

DeferredTaxLiabilities

193Deferred Tax Liabilities Undistributed Foreign Earningsxbrli:monetaryItemTypeinstantcreditus-gaap

DeferredTaxLiabilitiesUndistributedForeignEarnings

194Deferred Tax Liabilities Otherxbrli:monetaryItemTypeinstantcreditus-gaap

DeferredTaxLiabilitiesOther

195Defined Contribution Plan Employer Matching Contribution Percentnum:percentItemTypedurationus-gaap

DefinedContributionPlanEmployerMatchingContributionPercent

196Defined Contribution Plan Employer Matching Contribution Percent Of Matchnum:percentItemTypedurationus-gaap

DefinedContributionPlanEmployerMatchingContributionPercentOfMatch

197Defined Contribution Plan Cost Recognizedxbrli:monetaryItemTypedurationdebitus-gaap

DefinedContributionPlanCostRecognized

198Deposits Received For Securities Loaned At Carrying Valuexbrli:monetaryItemTypeinstantcreditus-gaap

DepositsReceivedForSecuritiesLoanedAtCarryingValue

199Depreciationxbrli:monetaryItemTypedurationdebitus-gaap

Depreciation

200Derivative Assetsxbrli:monetaryItemTypeinstantdebitus-gaap

DerivativeAssets

201Derivative [Line Items]xbrli:stringItemTypedurationtrueus-gaap

DerivativeLineItems

202Derivative Financial Instruments Assets [Member]nonnum:domainItemTypedurationtrueus-gaap

DerivativeFinancialInstrumentsAssetsMember

203Derivative Collateral Right To Reclaim Cashxbrli:monetaryItemTypeinstantdebitus-gaap

DerivativeCollateralRightToReclaimCash

204Derivative Instrument Risk [Axis]xbrli:stringItemTypedurationtrueus-gaap

DerivativeInstrumentRiskAxis

205Derivative Liability Fair Value Gross Assetxbrli:monetaryItemTypeinstantdebitus-gaap

DerivativeLiabilityFairValueGrossAsset

206Derivative [Table]xbrli:stringItemTypedurationtrueus-gaap

DerivativeTable

207Derivative Asset Fair Value Gross Liabilityxbrli:monetaryItemTypeinstantcreditus-gaap

DerivativeAssetFairValueGrossLiability

208Derivative Instruments And Hedging Activities Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract

209Derivative Collateral Obligation To Return Cashxbrli:monetaryItemTypeinstantcreditus-gaap

DerivativeCollateralObligationToReturnCash

210Derivative Financial Instruments Liabilities [Member]nonnum:domainItemTypedurationtrueus-gaap

DerivativeFinancialInstrumentsLiabilitiesMember

211Derivative Instruments Not Designated As Hedging Instruments Gain Loss Netxbrli:monetaryItemTypedurationcreditus-gaap

DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet

212Derivative Instruments And Hedging Activities Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock

213Derivative Fair Value Of Derivative Assetxbrli:monetaryItemTypeinstantdebitus-gaap

DerivativeFairValueOfDerivativeAsset

214Derivative Fair Value Of Derivative Liabilityxbrli:monetaryItemTypeinstantcreditus-gaap

DerivativeFairValueOfDerivativeLiability

215Derivative Instruments Gain Loss By Hedging Relationship [Axis]xbrli:stringItemTypedurationtrueus-gaap

DerivativeInstrumentsGainLossByHedgingRelationshipAxis

216Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Netxbrli:monetaryItemTypedurationcreditus-gaap

DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet

217Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstract

218Derivative Instruments Gain Loss [Line Items]xbrli:stringItemTypedurationtrueus-gaap

DerivativeInstrumentsGainLossLineItems

219Derivative Instruments Gain Loss By Hedging Relationship By Income Statement Location By Derivative Instrument Risk [Table]xbrli:stringItemTypedurationtrueus-gaap

DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable

220Derivative Contract Type [Domain]nonnum:domainItemTypedurationtrueus-gaap

DerivativeContractTypeDomain

221Derivatives Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

DerivativesPolicyTextBlock

222Derivatives Fair Value [Line Items]xbrli:stringItemTypedurationtrueus-gaap

DerivativesFairValueLineItems

223Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]xbrli:stringItemTypedurationtrueus-gaap

DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract

224Disclosure Of Share Based Compensation Arrangements By Share Based Payment Award [Text Block]nonnum:textBlockItemTypedurationus-gaap

DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock

225Dividend Payable Date To Be Paid Day Month And Yearxbrli:dateItemTypedurationus-gaap

DividendPayableDateToBePaidDayMonthAndYear

226Dividends Payable Date Declared Day Month And Yearxbrli:dateItemTypedurationus-gaap

DividendsPayableDateDeclaredDayMonthAndYear

227us-gaap:DividendsCommonStockCash (label)xbrli:monetaryItemTypedurationdebitus-gaap

DividendsCommonStockCash

228Dividends Payable Date Of Record Day Month And Yearxbrli:dateItemTypedurationus-gaap

DividendsPayableDateOfRecordDayMonthAndYear

229Dividends Declared Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

DividendsDeclaredTableTextBlock

230Earliest Tax Year [Member]nonnum:domainItemTypedurationtrueus-gaap

EarliestTaxYearMember

231us-gaap:EarningsPerShareDiluted (label)num:perShareItemTypedurationus-gaap

EarningsPerShareDiluted

232Earnings Per Share [Text Block]nonnum:textBlockItemTypedurationus-gaap

EarningsPerShareTextBlock

233Earnings Per Share Basic And Diluted [Abstract]xbrli:stringItemTypedurationtrueus-gaap

EarningsPerShareBasicAndDilutedAbstract

234us-gaap:EarningsPerShareBasic (label)num:perShareItemTypedurationus-gaap

EarningsPerShareBasic

235Earnings Per Share Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

EarningsPerSharePolicyTextBlock

236us-gaap:EarningsPerShareAbstract (label)xbrli:stringItemTypedurationtrueus-gaap

EarningsPerShareAbstract

237Effect Of Exchange Rate On Cash And Cash Equivalentsxbrli:monetaryItemTypedurationdebitus-gaap

EffectOfExchangeRateOnCashAndCashEquivalents

238Effective Income Tax Rate Reconciliation Foreign Income Tax Rate Differentialnum:percentItemTypedurationus-gaap

EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential

239Effective Income Tax Rate Reconciliation At Federal Statutory Income Tax Ratenum:percentItemTypedurationus-gaap

EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate

240Effective Income Tax Rate Reconciliation Deductions Qualified Production Activitiesnum:percentItemTypedurationus-gaap

EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities

241Effective Income Tax Rate Reconciliation Other Adjustmentsnum:percentItemTypedurationus-gaap

EffectiveIncomeTaxRateReconciliationOtherAdjustments

242Effective Income Tax Rate Continuing Operations Tax Rate Reconciliation [Abstract]xbrli:stringItemTypedurationtrueus-gaap

EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract

243Effective Income Tax Rate Continuing Operationsnum:percentItemTypedurationus-gaap

EffectiveIncomeTaxRateContinuingOperations

244Employee Severance [Member]nonnum:domainItemTypedurationtrueus-gaap

EmployeeSeveranceMember

245Employee Stock [Member]nonnum:domainItemTypedurationtrueus-gaap

EmployeeStockMember

246Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognizedxbrli:monetaryItemTypeinstantdebitus-gaap

EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized

247Employee Service Share Based Compensation Tax Benefit From Compensation Expensexbrli:monetaryItemTypedurationcreditus-gaap

EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense

248Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Period For Recognition1xbrli:durationItemTypedurationus-gaap

EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1

249Employee Related Liabilities Currentxbrli:monetaryItemTypeinstantcreditus-gaap

EmployeeRelatedLiabilitiesCurrent

250Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]xbrli:stringItemTypedurationtrueus-gaap

EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems

251Entity Wide Information Revenue From External Customer [Line Items]xbrli:stringItemTypedurationtrueus-gaap

EntityWideInformationRevenueFromExternalCustomerLineItems

252Equity [Abstract]xbrli:stringItemTypedurationtrueus-gaap

EquityAbstract

253Equity Component [Domain]nonnum:domainItemTypedurationtrueus-gaap

EquityComponentDomain

254Equity Method Investment Aggregate Costxbrli:monetaryItemTypeinstantdebitus-gaap

EquityMethodInvestmentAggregateCost

255Equity Contract [Member]nonnum:domainItemTypedurationtrueus-gaap

EquityContractMember

256us-gaap:EquityMethodInvestments (label)xbrli:monetaryItemTypeinstantdebitus-gaap

EquityMethodInvestments

257Equity Securities [Member]nonnum:domainItemTypedurationtrueus-gaap

EquitySecuritiesMember

258Fair Value By Liability Class [Axis]xbrli:stringItemTypedurationtrueus-gaap

FairValueByLiabilityClassAxis

259Fair Value By Fair Value Hierarchy Level [Axis]xbrli:stringItemTypedurationtrueus-gaap

FairValueByFairValueHierarchyLevelAxis

260Fair Value By Measurement Frequency [Axis]xbrli:stringItemTypedurationtrueus-gaap

FairValueByMeasurementFrequencyAxis

261Fair Value Measurements Nonrecurring [Member]nonnum:domainItemTypedurationtrueus-gaap

FairValueMeasurementsNonrecurringMember

262Fair Value By Asset Class [Axis]xbrli:stringItemTypedurationtrueus-gaap

FairValueByAssetClassAxis

263Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]xbrli:stringItemTypedurationtrueus-gaap

FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable

264Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]xbrli:stringItemTypedurationtrueus-gaap

FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems

265Fair Value Measurement Frequency [Domain]nonnum:domainItemTypedurationtrueus-gaap

FairValueMeasurementFrequencyDomain

266Fair Value Disclosures [Abstract]xbrli:stringItemTypedurationtrueus-gaap

FairValueDisclosuresAbstract

267Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]nonnum:domainItemTypedurationtrueus-gaap

FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain

268Fair Value Measurements Recurring [Member]nonnum:domainItemTypedurationtrueus-gaap

FairValueMeasurementsRecurringMember

269Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]nonnum:domainItemTypedurationtrueus-gaap

FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain

270Fair Value Measurements Fair Value Hierarchy [Domain]nonnum:domainItemTypedurationtrueus-gaap

FairValueMeasurementsFairValueHierarchyDomain

271Fair Value Disclosures [Text Block]nonnum:textBlockItemTypedurationus-gaap

FairValueDisclosuresTextBlock

272Fair Value Of Financial Instruments Policynonnum:textBlockItemTypedurationus-gaap

FairValueOfFinancialInstrumentsPolicy

273Fair Value Inputs Level1 [Member]nonnum:domainItemTypedurationtrueus-gaap

FairValueInputsLevel1Member

274Fair Value Inputs Level2 [Member]nonnum:domainItemTypedurationtrueus-gaap

FairValueInputsLevel2Member

275Fair Value Inputs Level3 [Member]nonnum:domainItemTypedurationtrueus-gaap

FairValueInputsLevel3Member

276Fair Value Hedging [Member]nonnum:domainItemTypedurationtrueus-gaap

FairValueHedgingMember

277Fair Values Derivatives Balance Sheet Location By Derivative Contract Type By Hedging Designation [Table]xbrli:stringItemTypedurationtrueus-gaap

FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable

278us-gaap:FiniteLivedIntangibleAssetsNet (label)xbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsNet

279Finite Lived Intangible Assets Amortization Expense Next Twelve Monthsxbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths

280Finite Lived Intangible Assets [Line Items]xbrli:stringItemTypedurationtrueus-gaap

FiniteLivedIntangibleAssetsLineItems

281Finite Lived Intangible Assets Acquired As Part Of Business Combination [Table]xbrli:stringItemTypedurationtrueus-gaap

FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable

282Finite Lived Intangible Assets Amortization Expense Year Fivexbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsAmortizationExpenseYearFive

283Finite Lived Intangible Assets Accumulated Amortizationxbrli:monetaryItemTypeinstantcreditus-gaap

FiniteLivedIntangibleAssetsAccumulatedAmortization

284Finite Lived Intangible Assets Amortization Expense After Year Fivexbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive

285Finite Lived Intangible Assets By Major Class [Axis]xbrli:stringItemTypedurationtrueus-gaap

FiniteLivedIntangibleAssetsByMajorClassAxis

286Finite Lived Intangible Assets Amortization Expense Year Threexbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsAmortizationExpenseYearThree

287Finite Lived Intangible Asset Useful Lifexbrli:durationItemTypedurationus-gaap

FiniteLivedIntangibleAssetUsefulLife

288Finite Lived Intangible Assets Amortization Expense Year Fourxbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsAmortizationExpenseYearFour

289Finite Lived Intangible Assets Grossxbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsGross

290Finite Lived Intangible Assets Amortization Expense Year Twoxbrli:monetaryItemTypeinstantdebitus-gaap

FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo

291Finite Lived Intangible Assets Major Class Name [Domain]nonnum:domainItemTypedurationtrueus-gaap

FiniteLivedIntangibleAssetsMajorClassNameDomain

292Foreign Currency Transaction Gain Loss Before Taxxbrli:monetaryItemTypedurationcreditus-gaap

ForeignCurrencyTransactionGainLossBeforeTax

293Foreign Government Debt Securities [Member]nonnum:domainItemTypedurationtrueus-gaap

ForeignGovernmentDebtSecuritiesMember

294Foreign Currency Transactions And Translations Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock

295Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Monthsxbrli:monetaryItemTypeinstantcreditus-gaap

ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months

296Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Netxbrli:monetaryItemTypedurationcreditus-gaap

ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet

297Foreign Country [Member]nonnum:domainItemTypedurationtrueus-gaap

ForeignCountryMember

298Foreign Exchange Contract [Member]nonnum:domainItemTypedurationtrueus-gaap

ForeignExchangeContractMember

299Furniture And Fixtures [Member]nonnum:domainItemTypedurationtrueus-gaap

FurnitureAndFixturesMember

300Furniture And Fixtures Grossxbrli:monetaryItemTypeinstantdebitus-gaap

FurnitureAndFixturesGross

301Gain Loss On Derivative Instruments Net Pretaxxbrli:monetaryItemTypedurationcreditus-gaap

GainLossOnDerivativeInstrumentsNetPretax

302Gain Loss On Fair Value Hedge Ineffectiveness Netxbrli:monetaryItemTypedurationcreditus-gaap

GainLossOnFairValueHedgeIneffectivenessNet

303Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Netxbrli:monetaryItemTypedurationcreditus-gaap

GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet

304us-gaap:GainLossOnInvestments (label)xbrli:monetaryItemTypedurationcreditus-gaap

GainLossOnInvestments

305General And Administrative Expensexbrli:monetaryItemTypedurationdebitus-gaap

GeneralAndAdministrativeExpense

306Goodwill And Intangible Assets Goodwill Policynonnum:textBlockItemTypedurationus-gaap

GoodwillAndIntangibleAssetsGoodwillPolicy

307Goodwill Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

GoodwillDisclosureTextBlock

308us-gaap:Goodwill (label)xbrli:monetaryItemTypeinstantdebitus-gaap

Goodwill

309Goodwill Impairment Lossxbrli:monetaryItemTypedurationdebitus-gaap

GoodwillImpairmentLoss

310Goodwill Impaired Accumulated Impairment Lossxbrli:monetaryItemTypeinstantcreditus-gaap

GoodwillImpairedAccumulatedImpairmentLoss

311Goodwill Acquired During Periodxbrli:monetaryItemTypedurationdebitus-gaap

GoodwillAcquiredDuringPeriod

312Goodwill [Line Items]xbrli:stringItemTypedurationtrueus-gaap

GoodwillLineItems

313Goodwill Other Increase Decreasexbrli:monetaryItemTypedurationdebitus-gaap

GoodwillOtherIncreaseDecrease

314Goodwill And Intangible Assets Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

GoodwillAndIntangibleAssetsDisclosureAbstract

315us-gaap:GrossProfit (label)xbrli:monetaryItemTypedurationcreditus-gaap

GrossProfit

316Hedging Designation [Axis]xbrli:stringItemTypedurationtrueus-gaap

HedgingDesignationAxis

317Hedging Relationship [Domain]nonnum:domainItemTypedurationtrueus-gaap

HedgingRelationshipDomain

318Hedging Designation [Domain]nonnum:domainItemTypedurationtrueus-gaap

HedgingDesignationDomain

319Impairment Of Intangible Assets Finitelivedxbrli:monetaryItemTypedurationdebitus-gaap

ImpairmentOfIntangibleAssetsFinitelived

320Income Tax Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

IncomeTaxDisclosureAbstract

321us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)xbrli:monetaryItemTypedurationcreditus-gaap

IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic

322us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)xbrli:monetaryItemTypedurationcreditus-gaap

IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign

323Income Tax Examination Year Under Examinationxbrli:gYearItemTypedurationus-gaap

IncomeTaxExaminationYearUnderExamination

324Income Statement Location [Axis]xbrli:stringItemTypedurationtrueus-gaap

IncomeStatementLocationAxis

325Income Tax Authority Name [Axis]xbrli:stringItemTypedurationtrueus-gaap

IncomeTaxAuthorityNameAxis

326Income Tax Authority Name [Domain]nonnum:domainItemTypedurationtrueus-gaap

IncomeTaxAuthorityNameDomain

327Income Tax Authority [Axis]xbrli:stringItemTypedurationtrueus-gaap

IncomeTaxAuthorityAxis

328Income Loss From Continuing Operations Before Income Taxes Minority Interest And Income Loss From Equity Method Investmentsxbrli:monetaryItemTypedurationcreditus-gaap

IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments

329Income Statement Location [Domain]nonnum:domainItemTypedurationtrueus-gaap

IncomeStatementLocationDomain

330us-gaap:IncomeStatementAbstract (label)xbrli:stringItemTypedurationtrueus-gaap

IncomeStatementAbstract

331Income Tax Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

IncomeTaxDisclosureTextBlock

332Income Tax Examination [Line Items]xbrli:stringItemTypedurationtrueus-gaap

IncomeTaxExaminationLineItems

333Income Tax Examination [Table]xbrli:stringItemTypedurationtrueus-gaap

IncomeTaxExaminationTable

334Income Tax Contingency [Line Items]xbrli:stringItemTypedurationtrueus-gaap

IncomeTaxContingencyLineItems

335Income Tax Authority [Domain]nonnum:domainItemTypedurationtrueus-gaap

IncomeTaxAuthorityDomain

336Income Tax Contingency [Table]xbrli:stringItemTypedurationtrueus-gaap

IncomeTaxContingencyTable

337us-gaap:IncomeTaxExpenseBenefit (label)xbrli:monetaryItemTypedurationdebitus-gaap

IncomeTaxExpenseBenefit

338Income Tax Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

IncomeTaxPolicyTextBlock

339Income Taxes Paid Netxbrli:monetaryItemTypedurationcreditus-gaap

IncomeTaxesPaidNet

340Increase Decrease In Other Current Assetsxbrli:monetaryItemTypedurationcreditus-gaap

IncreaseDecreaseInOtherCurrentAssets

341Increase Decrease In Collateral Held Under Securities Lendingxbrli:monetaryItemTypedurationcreditus-gaap

IncreaseDecreaseInCollateralHeldUnderSecuritiesLending

342Increase Decrease In Other Noncurrent Liabilitiesxbrli:monetaryItemTypedurationdebitus-gaap

IncreaseDecreaseInOtherNoncurrentLiabilities

343Increase Decrease In Accounts Receivablexbrli:monetaryItemTypedurationcreditus-gaap

IncreaseDecreaseInAccountsReceivable

344Increase Decrease In Other Noncurrent Assetsxbrli:monetaryItemTypedurationcreditus-gaap

IncreaseDecreaseInOtherNoncurrentAssets

345Increase Decrease In Other Current Liabilitiesxbrli:monetaryItemTypedurationdebitus-gaap

IncreaseDecreaseInOtherCurrentLiabilities

346Increase Decrease In Accounts Payablexbrli:monetaryItemTypedurationdebitus-gaap

IncreaseDecreaseInAccountsPayable

347Increase Decrease In Deferred Revenuexbrli:monetaryItemTypedurationdebitus-gaap

IncreaseDecreaseInDeferredRevenue

348Increase Decrease In Operating Capital [Abstract]xbrli:stringItemTypedurationtrueus-gaap

IncreaseDecreaseInOperatingCapitalAbstract

349Increase Decrease In Inventoriesxbrli:monetaryItemTypedurationcreditus-gaap

IncreaseDecreaseInInventories

350Incremental Common Shares Attributable To Share Based Payment Arrangementsxbrli:sharesItemTypedurationus-gaap

IncrementalCommonSharesAttributableToShareBasedPaymentArrangements

351Intangible Assets Finite Lived Policynonnum:textBlockItemTypedurationus-gaap

IntangibleAssetsFiniteLivedPolicy

352Intangible Assets Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

IntangibleAssetsDisclosureTextBlock

353Interest Expensexbrli:monetaryItemTypedurationdebitus-gaap

InterestExpense

354Interest Paidxbrli:monetaryItemTypedurationcreditus-gaap

InterestPaid

355Interest Rate Contract [Member]nonnum:domainItemTypedurationtrueus-gaap

InterestRateContractMember

356Internal Revenue Service I R S [Member]nonnum:domainItemTypedurationtrueus-gaap

InternalRevenueServiceIRSMember

357Inventory Current [Table]xbrli:stringItemTypedurationtrueus-gaap

InventoryCurrentTable

358Inventory Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

InventoryDisclosureTextBlock

359Inventory [Line Items]xbrli:stringItemTypedurationtrueus-gaap

InventoryLineItems

360Inventory Finished Goods Net Of Reservesxbrli:monetaryItemTypeinstantdebitus-gaap

InventoryFinishedGoodsNetOfReserves

361us-gaap:InventoryNet (label)xbrli:monetaryItemTypeinstantdebitus-gaap

InventoryNet

362Inventory Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

InventoryDisclosureAbstract

363Inventory Work In Process Net Of Reservesxbrli:monetaryItemTypeinstantdebitus-gaap

InventoryWorkInProcessNetOfReserves

364Inventory Raw Materials Net Of Reservesxbrli:monetaryItemTypeinstantdebitus-gaap

InventoryRawMaterialsNetOfReserves

365Inventory Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

InventoryPolicyTextBlock

366Investment Type Categorization [Member]nonnum:domainItemTypedurationtrueus-gaap

InvestmentTypeCategorizationMember

367Investment Income Netxbrli:monetaryItemTypedurationcreditus-gaap

InvestmentIncomeNet

368Investment Type [Axis]xbrli:stringItemTypedurationtrueus-gaap

InvestmentTypeAxis

369Investment Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

InvestmentPolicyTextBlock

370Investments Classified By Contractual Maturity Date Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

InvestmentsClassifiedByContractualMaturityDateTableTextBlock

371Investments In Debt And Equity Instruments Cash And Cash Equivalents Unrealized And Realized Gains Losses [Text Block]nonnum:textBlockItemTypedurationus-gaap

InvestmentsInDebtAndEquityInstrumentsCashAndCashEquivalentsUnrealizedAndRealizedGainsLossesTextBlock

372Investments Debt And Equity Securities [Abstract]xbrli:stringItemTypedurationtrueus-gaap

InvestmentsDebtAndEquitySecuritiesAbstract

373Latest Tax Year [Member]nonnum:domainItemTypedurationtrueus-gaap

LatestTaxYearMember

374Longterm Debt Type [Domain]nonnum:domainItemTypedurationtrueus-gaap

LongtermDebtTypeDomain

375Longterm Debt Type [Axis]xbrli:stringItemTypedurationtrueus-gaap

LongtermDebtTypeAxis

376Landxbrli:monetaryItemTypeinstantdebitus-gaap

Land

377Lease And Rental Expensexbrli:monetaryItemTypedurationdebitus-gaap

LeaseAndRentalExpense

378Leasehold Improvements Grossxbrli:monetaryItemTypeinstantdebitus-gaap

LeaseholdImprovementsGross

379Leasehold Improvements [Member]nonnum:domainItemTypedurationtrueus-gaap

LeaseholdImprovementsMember

380Legal Matters And Contingencies [Text Block]nonnum:textBlockItemTypedurationus-gaap

LegalMattersAndContingenciesTextBlock

381Liabilities And Stockholders Equityxbrli:monetaryItemTypeinstantcreditus-gaap

LiabilitiesAndStockholdersEquity

382Liabilities Fair Value Disclosure Recurringxbrli:monetaryItemTypeinstantcreditus-gaap

LiabilitiesFairValueDisclosureRecurring

383Liabilitiesxbrli:monetaryItemTypeinstantcreditus-gaap

Liabilities

384Liabilities And Stockholders Equity [Abstract]xbrli:stringItemTypedurationtrueus-gaap

LiabilitiesAndStockholdersEquityAbstract

385Liabilities Currentxbrli:monetaryItemTypeinstantcreditus-gaap

LiabilitiesCurrent

386Liabilities Current [Abstract]xbrli:stringItemTypedurationtrueus-gaap

LiabilitiesCurrentAbstract

387Line Of Credit Facility Covenant Compliancexbrli:stringItemTypedurationus-gaap

LineOfCreditFacilityCovenantCompliance

388Line Of Credit Facility Expiration Date1xbrli:dateItemTypedurationus-gaap

LineOfCreditFacilityExpirationDate1

389Line Of Credit Facility Maximum Borrowing Capacityxbrli:monetaryItemTypeinstantcreditus-gaap

LineOfCreditFacilityMaximumBorrowingCapacity

390Long [Member]nonnum:domainItemTypedurationtrueus-gaap

LongMember

391Long Term Debt Fair Valuexbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtFairValue

392Long Term Debtxbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebt

393Long Term Debt Maturities Repayments Of Principal In Year Fivexbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive

394Long Term Purchase Commitment Category Of Item Purchased [Domain]nonnum:domainItemTypedurationtrueus-gaap

LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain

395Long Term Debt Maturities Repayments Of Principal In Year Fourxbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour

396Long Term Debt Maturities Repayments Of Principal In Year Threexbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree

397Long Term Debt Currentxbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtCurrent

398Long Term Debt Maturities Repayments Of Principal In Next Twelve Monthsxbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths

399us-gaap:LongTermInvestments (label)xbrli:monetaryItemTypeinstantdebitus-gaap

LongTermInvestments

400Long Term Debt Noncurrentxbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtNoncurrent

401Long Term Debt Maturities Repayments Of Principal In Year Twoxbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo

402Long Term Debt Maturities Repayments Of Principal After Year Fivexbrli:monetaryItemTypeinstantcreditus-gaap

LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive

403Long Term Purchase Commitment By Category Of Item Purchased [Axis]xbrli:stringItemTypedurationtrueus-gaap

LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis

404Loss Contingencies [Table]xbrli:stringItemTypedurationtrueus-gaap

LossContingenciesTable

405Loss Contingency Accrual Carrying Value Currentxbrli:monetaryItemTypeinstantcreditus-gaap

LossContingencyAccrualCarryingValueCurrent

406Loss Contingencies [Line Items]xbrli:stringItemTypedurationtrueus-gaap

LossContingenciesLineItems

407Loss Contingency Range Of Possible Loss Portion Not Accruedxbrli:monetaryItemTypeinstantdebitus-gaap

LossContingencyRangeOfPossibleLossPortionNotAccrued

408Mergers Acquisitions And Dispositions Disclosures [Text Block]nonnum:textBlockItemTypedurationus-gaap

MergersAcquisitionsAndDispositionsDisclosuresTextBlock

409Major Types Of Debt And Equity Securities [Domain]nonnum:domainItemTypedurationtrueus-gaap

MajorTypesOfDebtAndEquitySecuritiesDomain

410Major Types Of Debt And Equity Securities [Axis]xbrli:stringItemTypedurationtrueus-gaap

MajorTypesOfDebtAndEquitySecuritiesAxis

411Marketable Securities Realized Gain Loss Other Than Temporary Impairments Amountxbrli:monetaryItemTypedurationdebitus-gaap

MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount

412us-gaap:MarketingRelatedIntangibleAssetsMember (label)nonnum:domainItemTypedurationtrueus-gaap

MarketingRelatedIntangibleAssetsMember

413Maximum Length Of Time Foreign Currency Cash Flow Hedgexbrli:durationItemTypedurationus-gaap

MaximumLengthOfTimeForeignCurrencyCashFlowHedge

414us-gaap:MaximumMember (label)nonnum:domainItemTypedurationtrueus-gaap

MaximumMember

415us-gaap:MinimumMember (label)nonnum:domainItemTypedurationtrueus-gaap

MinimumMember

416Money Market Funds [Member]nonnum:domainItemTypedurationtrueus-gaap

MoneyMarketFundsMember

417Mortgage Backed Securities [Member]nonnum:domainItemTypedurationtrueus-gaap

MortgageBackedSecuritiesMember

418Noncurrent Assetsxbrli:monetaryItemTypeinstantdebitus-gaap

NoncurrentAssets

419Net Cash Provided By Used In Financing Activities Continuing Operations [Abstract]xbrli:stringItemTypedurationtrueus-gaap

NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract

420Net Cash Provided By Used In Financing Activities Continuing Operationsxbrli:monetaryItemTypedurationdebitus-gaap

NetCashProvidedByUsedInFinancingActivitiesContinuingOperations

421Net Cash Provided By Used In Operating Activities Continuing Operations [Abstract]xbrli:stringItemTypedurationtrueus-gaap

NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract

422Net Cash Provided By Used In Investing Activities Continuing Operationsxbrli:monetaryItemTypedurationdebitus-gaap

NetCashProvidedByUsedInInvestingActivitiesContinuingOperations

423Net Cash Provided By Used In Operating Activities Continuing Operationsxbrli:monetaryItemTypedurationus-gaap

NetCashProvidedByUsedInOperatingActivitiesContinuingOperations

424Net Cash Provided By Used In Investing Activities Continuing Operations [Abstract]xbrli:stringItemTypedurationtrueus-gaap

NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract

425us-gaap:NetIncomeLoss (label)xbrli:monetaryItemTypedurationcreditus-gaap

NetIncomeLoss

426New Accounting Pronouncements Or Change In Accounting Principle [Table]xbrli:stringItemTypedurationtrueus-gaap

NewAccountingPronouncementsOrChangeInAccountingPrincipleTable

427New Accounting Pronouncements Policy Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

NewAccountingPronouncementsPolicyPolicyTextBlock

428New Accounting Pronouncements Or Change In Accounting Principle [Line Items]xbrli:stringItemTypedurationtrueus-gaap

NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems

429Non Us [Member]nonnum:domainItemTypedurationtrueus-gaap

NonUsMember

430Nonoperating Income Expense [Member]nonnum:domainItemTypedurationtrueus-gaap

NonoperatingIncomeExpenseMember

431us-gaap:NonoperatingIncomeExpense (label)xbrli:monetaryItemTypedurationcreditus-gaap

NonoperatingIncomeExpense

432Nondesignated [Member]nonnum:domainItemTypedurationtrueus-gaap

NondesignatedMember

433Oci Before Reclassifications Net Of Tax Attributable To Parentxbrli:monetaryItemTypedurationcreditus-gaap

OciBeforeReclassificationsNetOfTaxAttributableToParent

434Open Tax Yearxbrli:gYearItemTypedurationus-gaap

OpenTaxYear

435Operating Leases Future Minimum Payments Due Thereafterxbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeasesFutureMinimumPaymentsDueThereafter

436Operating Leases Future Minimum Payments Due In Two Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeasesFutureMinimumPaymentsDueInTwoYears

437Operating Lease Right Of Use Assetxbrli:monetaryItemTypeinstantdebitus-gaap

OperatingLeaseRightOfUseAsset

438Operating Leases Future Minimum Payments Duexbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeasesFutureMinimumPaymentsDue

439Operating Leases Future Minimum Payments Due Currentxbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeasesFutureMinimumPaymentsDueCurrent

440Operating Leases Future Minimum Payments Due In Five Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeasesFutureMinimumPaymentsDueInFiveYears

441Operating Segments [Member]nonnum:domainItemTypedurationtrueus-gaap

OperatingSegmentsMember

442Operating Leases Future Minimum Payments Due In Four Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeasesFutureMinimumPaymentsDueInFourYears

443us-gaap:OperatingIncomeLoss (label)xbrli:monetaryItemTypedurationcreditus-gaap

OperatingIncomeLoss

444Operating Leases Future Minimum Payments Due In Three Yearsxbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeasesFutureMinimumPaymentsDueInThreeYears

445Operating Lease Liabilityxbrli:monetaryItemTypeinstantcreditus-gaap

OperatingLeaseLiability

446Operating Leased Assets [Line Items]xbrli:stringItemTypedurationtrueus-gaap

OperatingLeasedAssetsLineItems

447Operating Loss Carryforwardsxbrli:monetaryItemTypeinstantdebitus-gaap

OperatingLossCarryforwards

448Organization Consolidation And Presentation Of Financial Statements [Abstract]xbrli:stringItemTypedurationtrueus-gaap

OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract

449Other Nonoperating Income And Expense [Text Block]nonnum:textBlockItemTypedurationus-gaap

OtherNonoperatingIncomeAndExpenseTextBlock

450Other Comprehensive Income Loss Before Reclassifications Taxxbrli:monetaryItemTypedurationdebitus-gaap

OtherComprehensiveIncomeLossBeforeReclassificationsTax

451Other Noncurrent Assets [Member]nonnum:domainItemTypedurationtrueus-gaap

OtherNoncurrentAssetsMember

452Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]nonnum:domainItemTypedurationtrueus-gaap

OtherPostretirementBenefitsIndividualContractsTypeOfDeferredCompensationDomain

453Other Current Liabilities [Member]nonnum:domainItemTypedurationtrueus-gaap

OtherCurrentLiabilitiesMember

454Other Noncurrent Liabilities [Member]nonnum:domainItemTypedurationtrueus-gaap

OtherNoncurrentLiabilitiesMember

455Other Comprehensive Income Loss Tax Portion Attributable To Parent1xbrli:monetaryItemTypedurationdebitus-gaap

OtherComprehensiveIncomeLossTaxPortionAttributableToParent1

456Other Comprehensive Income Loss Derivatives Qualifying As Hedges Net Of Taxxbrli:monetaryItemTypedurationcreditus-gaap

OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax

457Other Comprehensive Income Loss Derivatives Qualifying As Hedges Taxxbrli:monetaryItemTypedurationdebitus-gaap

OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesTax

458Other Current Assets [Member]nonnum:domainItemTypedurationtrueus-gaap

OtherCurrentAssetsMember

459Other Comprehensive Income Loss Available For Sale Securities Adjustment Net Of Taxxbrli:monetaryItemTypedurationcreditus-gaap

OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax

460Other Comprehensive Income Loss Foreign Currency Translation Adjustment Taxxbrli:monetaryItemTypedurationdebitus-gaap

OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax

461Other Comprehensive Income Loss Available For Sale Securities Taxxbrli:monetaryItemTypedurationdebitus-gaap

OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax

462Other Comprehensive Income Loss Foreign Currency Transaction And Translation Adjustment Net Of Taxxbrli:monetaryItemTypedurationcreditus-gaap

OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax

463Other Restructuring [Member]nonnum:domainItemTypedurationtrueus-gaap

OtherRestructuringMember

464Other Income And Expenses [Abstract]xbrli:stringItemTypedurationtrueus-gaap

OtherIncomeAndExpensesAbstract

465Other Assets Noncurrentxbrli:monetaryItemTypeinstantdebitus-gaap

OtherAssetsNoncurrent

466Other Assets Fair Value Disclosurexbrli:monetaryItemTypeinstantdebitus-gaap

OtherAssetsFairValueDisclosure

467Other Assetsxbrli:monetaryItemTypeinstantdebitus-gaap

OtherAssets

468Other Assets Currentxbrli:monetaryItemTypeinstantdebitus-gaap

OtherAssetsCurrent

469Other Comprehensive Income Loss Net Of Tax Period Increase Decrease [Abstract]xbrli:stringItemTypedurationtrueus-gaap

OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract

470Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Taxxbrli:monetaryItemTypedurationcreditus-gaap

OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax

471Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Taxxbrli:monetaryItemTypedurationdebitus-gaap

OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax

472Other Liabilitiesxbrli:monetaryItemTypeinstantcreditus-gaap

OtherLiabilities

473Other Liabilities Noncurrentxbrli:monetaryItemTypeinstantcreditus-gaap

OtherLiabilitiesNoncurrent

474Other Liabilities Currentxbrli:monetaryItemTypeinstantcreditus-gaap

OtherLiabilitiesCurrent

475Other Nonoperating Income Expensexbrli:monetaryItemTypedurationcreditus-gaap

OtherNonoperatingIncomeExpense

476Other Assets [Member]nonnum:domainItemTypedurationtrueus-gaap

OtherAssetsMember

477us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)xbrli:monetaryItemTypedurationcreditus-gaap

OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent

478Position [Axis]xbrli:stringItemTypedurationtrueus-gaap

PositionAxis

479Position [Domain]nonnum:domainItemTypedurationtrueus-gaap

PositionDomain

480Products And Services [Domain]nonnum:domainItemTypedurationtrueus-gaap

ProductsAndServicesDomain

481Payments Of Dividends Common Stockxbrli:monetaryItemTypedurationcreditus-gaap

PaymentsOfDividendsCommonStock

482Payments For Restructuringxbrli:monetaryItemTypedurationcreditus-gaap

PaymentsForRestructuring

483Payments For Repurchase Of Common Stockxbrli:monetaryItemTypedurationcreditus-gaap

PaymentsForRepurchaseOfCommonStock

484Payments To Acquire Businesses Grossxbrli:monetaryItemTypedurationcreditus-gaap

PaymentsToAcquireBusinessesGross

485Payments To Acquire Investmentsxbrli:monetaryItemTypedurationcreditus-gaap

PaymentsToAcquireInvestments

486Payments To Acquire Property Plant And Equipmentxbrli:monetaryItemTypedurationcreditus-gaap

PaymentsToAcquirePropertyPlantAndEquipment

487Performance Shares [Member]nonnum:domainItemTypedurationtrueus-gaap

PerformanceSharesMember

488Plan Name [Axis]xbrli:stringItemTypedurationtrueus-gaap

PlanNameAxis

489Plan Name [Domain]nonnum:domainItemTypedurationtrueus-gaap

PlanNameDomain

490Postemployment Benefits [Abstract]xbrli:stringItemTypedurationtrueus-gaap

PostemploymentBenefitsAbstract

491Proceeds From Debt Maturing In More Than Three Monthsxbrli:monetaryItemTypedurationdebitus-gaap

ProceedsFromDebtMaturingInMoreThanThreeMonths

492Proceeds From Payments For Other Financing Activitiesxbrli:monetaryItemTypedurationdebitus-gaap

ProceedsFromPaymentsForOtherFinancingActivities

493Proceeds From Repayments Of Short Term Debt Maturing In Three Months Or Lessxbrli:monetaryItemTypedurationdebitus-gaap

ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess

494Proceeds From Issuance Of Common Stockxbrli:monetaryItemTypedurationdebitus-gaap

ProceedsFromIssuanceOfCommonStock

495Proceeds From Maturities Prepayments And Calls Of Available For Sale Securitiesxbrli:monetaryItemTypedurationdebitus-gaap

ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities

496Proceeds From Lines Of Creditxbrli:monetaryItemTypedurationdebitus-gaap

ProceedsFromLinesOfCredit

497Proceeds From Sale Of Available For Sale Securitiesxbrli:monetaryItemTypedurationdebitus-gaap

ProceedsFromSaleOfAvailableForSaleSecurities

498Product Or Service [Axis]xbrli:stringItemTypedurationtrueus-gaap

ProductOrServiceAxis

499Property Plant And Equipment Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

PropertyPlantAndEquipmentPolicyTextBlock

500Property Plant And Equipment [Text Block]nonnum:textBlockItemTypedurationus-gaap

PropertyPlantAndEquipmentTextBlock

501Property Subject To Or Available For Operating Lease [Axis]xbrli:stringItemTypedurationtrueus-gaap

PropertySubjectToOrAvailableForOperatingLeaseAxis

502Property Subject To Or Available For Operating Lease [Domain]nonnum:domainItemTypedurationtrueus-gaap

PropertySubjectToOrAvailableForOperatingLeaseDomain

503Property Plant And Equipment [Abstract]xbrli:stringItemTypedurationtrueus-gaap

PropertyPlantAndEquipmentAbstract

504us-gaap:PropertyPlantAndEquipmentNet (label)xbrli:monetaryItemTypeinstantdebitus-gaap

PropertyPlantAndEquipmentNet

505Property Plant And Equipment Grossxbrli:monetaryItemTypeinstantdebitus-gaap

PropertyPlantAndEquipmentGross

506Property Plant And Equipment Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

PropertyPlantAndEquipmentDisclosureTextBlock

507Property Plant And Equipment [Line Items]xbrli:stringItemTypedurationtrueus-gaap

PropertyPlantAndEquipmentLineItems

508Property Plant And Equipment Useful Lifexbrli:durationItemTypedurationus-gaap

PropertyPlantAndEquipmentUsefulLife

509Property Plant And Equipment By Type [Axis]xbrli:stringItemTypedurationtrueus-gaap

PropertyPlantAndEquipmentByTypeAxis

510Property Plant And Equipment Type [Domain]nonnum:domainItemTypedurationtrueus-gaap

PropertyPlantAndEquipmentTypeDomain

511Quarterly Financial Information [Text Block]nonnum:textBlockItemTypedurationus-gaap

QuarterlyFinancialInformationTextBlock

512Quarterly Financial Information Disclosure [Abstract]xbrli:stringItemTypedurationtrueus-gaap

QuarterlyFinancialInformationDisclosureAbstract

513Range [Member]nonnum:domainItemTypedurationtrueus-gaap

RangeMember

514Range [Axis]xbrli:stringItemTypedurationtrueus-gaap

RangeAxis

515Realized Gain Loss On Investments Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

RealizedGainLossOnInvestmentsTableTextBlock

516Reclassification From Aoci Current Period Net Of Tax Attributable To Parentxbrli:monetaryItemTypedurationdebitus-gaap

ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent

517Reclassification From Aoci Current Period Taxxbrli:monetaryItemTypedurationcreditus-gaap

ReclassificationFromAociCurrentPeriodTax

518Reclassification From Aoci Current Period Before Tax Attributable To Parentxbrli:monetaryItemTypedurationdebitus-gaap

ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent

519Recognition Of Deferred Revenuexbrli:monetaryItemTypedurationcreditus-gaap

RecognitionOfDeferredRevenue

520Reconciliation Of Operating Profit Loss From Segments To Consolidated [Text Block]nonnum:textBlockItemTypedurationus-gaap

ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock

521Reconciliation Of Operating Profit Loss From Segments To Consolidated [Table]xbrli:stringItemTypedurationtrueus-gaap

ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable

522Reconciliation Of Revenue From Segments To Consolidated [Text Block]nonnum:textBlockItemTypedurationus-gaap

ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock

523Repayments Of Debt Maturing In More Than Three Monthsxbrli:monetaryItemTypedurationcreditus-gaap

RepaymentsOfDebtMaturingInMoreThanThreeMonths

524Research Development And Computer Software Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

ResearchDevelopmentAndComputerSoftwarePolicyTextBlock

525Research And Development Expensexbrli:monetaryItemTypedurationdebitus-gaap

ResearchAndDevelopmentExpense

526Restatement Adjustment [Member]nonnum:domainItemTypedurationtrueus-gaap

RestatementAdjustmentMember

527Restricted Stock [Member]nonnum:domainItemTypedurationtrueus-gaap

RestrictedStockMember

528Restricted Stock Units R S U [Member]nonnum:domainItemTypedurationtrueus-gaap

RestrictedStockUnitsRSUMember

529Restructuring Plan [Axis]xbrli:stringItemTypedurationtrueus-gaap

RestructuringPlanAxis

530Restructuring Reserve Settled Without Cash2xbrli:monetaryItemTypedurationdebitus-gaap

RestructuringReserveSettledWithoutCash2

531Restructuring Plan [Domain]nonnum:domainItemTypedurationtrueus-gaap

RestructuringPlanDomain

532Restructuring And Related Cost Number Of Positions Eliminatedxbrli:integerItemTypedurationus-gaap

RestructuringAndRelatedCostNumberOfPositionsEliminated

533Restructuring Chargesxbrli:monetaryItemTypedurationdebitus-gaap

RestructuringCharges

534Restructuring Reserve Accrual Adjustment1xbrli:monetaryItemTypedurationdebitus-gaap

RestructuringReserveAccrualAdjustment1

535Restructuring And Related Activities Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

RestructuringAndRelatedActivitiesDisclosureTextBlock

536Restructuring Cost And Reserve [Axis]xbrli:stringItemTypedurationtrueus-gaap

RestructuringCostAndReserveAxis

537Restructuring And Related Activities [Abstract]xbrli:stringItemTypedurationtrueus-gaap

RestructuringAndRelatedActivitiesAbstract

538us-gaap:RestructuringReserve (label)xbrli:monetaryItemTypeinstantcreditus-gaap

RestructuringReserve

539Restructuring Cost And Reserve [Line Items]xbrli:stringItemTypedurationtrueus-gaap

RestructuringCostAndReserveLineItems

540Restructuring And Related Activities Completion Datexbrli:dateItemTypedurationus-gaap

RestructuringAndRelatedActivitiesCompletionDate

541Retained Earnings Accumulated Deficitxbrli:monetaryItemTypeinstantcreditus-gaap

RetainedEarningsAccumulatedDeficit

542Retained Earnings [Member]nonnum:domainItemTypedurationtrueus-gaap

RetainedEarningsMember

543Revenue Recognition Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

RevenueRecognitionPolicyTextBlock

544Sharebased Compensation Arrangement By Sharebased Payment Award Purchase Price Of Common Stock Percentnum:percentItemTypedurationus-gaap

SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent

545Scheduleof Finite Lived Intangible Assets Future Amortization Expense Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock

546Sales Revenue Net [Abstract]xbrli:stringItemTypedurationtrueus-gaap

SalesRevenueNetAbstract

547Sales [Member]nonnum:domainItemTypedurationtrueus-gaap

SalesMember

548Sales Revenue Goods Netxbrli:monetaryItemTypedurationcreditus-gaap

SalesRevenueGoodsNet

549us-gaap:SalesRevenueNet (label)xbrli:monetaryItemTypedurationcreditus-gaap

SalesRevenueNet

550Scenario Unspecified [Domain]nonnum:domainItemTypedurationtrueus-gaap

ScenarioUnspecifiedDomain

551Scenario Plan [Member]nonnum:domainItemTypedurationtrueus-gaap

ScenarioPlanMember

552Schedule Of Deferred Tax Assets And Liabilities Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock

553Schedule Of Cost Method Investments [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfCostMethodInvestmentsTable

554Schedule Of Earnings Per Share Basic And Diluted Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock

555Schedule Of Operating Leased Assets [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfOperatingLeasedAssetsTable

556Schedule Of Finite Lived Intangible Assets [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfFiniteLivedIntangibleAssetsTable

557Schedule Of Share Based Compensation Employee Stock Purchase Plan Activity Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfShareBasedCompensationEmployeeStockPurchasePlanActivityTableTextBlock

558Schedule Of Credit Losses For Financing Receivables Current Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfCreditLossesForFinancingReceivablesCurrentTableTextBlock

559Schedule Of Gain Loss On Investments [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfGainLossOnInvestmentsTable

560Schedule Of Effective Income Tax Rate Reconciliation Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock

561Schedule Of Unrealized Loss On Investments Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock

562Schedule Of Inventory Current Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfInventoryCurrentTableTextBlock

563Schedule Of Fair Value Assets And Liabilities Measured On Recurring Basis Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock

564Schedule Of Compensation Cost For Share Based Payment Arrangements Allocation Of Share Based Compensation Costs By Plan Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock

565Schedule Of Cost Method Investments [Line Items]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfCostMethodInvestmentsLineItems

566Schedule Of Maturities Of Long Term Debt Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfMaturitiesOfLongTermDebtTableTextBlock

567Schedule Of Finite Lived Intangible Assets Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock

568Schedule Of Future Minimum Rental Payments For Operating Leases Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock

569Schedule Of Quarterly Financial Information Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfQuarterlyFinancialInformationTableTextBlock

570Schedule Of Other Nonoperating Income Expense Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock

571Schedule Of Components Of Income Tax Expense Benefit Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock

572Schedule Of Income Before Income Tax Domestic And Foreign Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock

573Schedule Of Future Minimum Lease Payments For Capital Leases Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock

574Schedule Of Common Stock Outstanding Roll Forward Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfCommonStockOutstandingRollForwardTableTextBlock

575Schedule Of Acquired Finite Lived Intangible Asset By Major Class [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable

576Schedule Of Business Acquisitions By Acquisition [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock

577Schedule Of Debt Instruments [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfDebtInstrumentsTextBlock

578Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock

579Schedule Of Capital Units [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfCapitalUnitsTable

580Schedule Of Accumulated Other Comprehensive Income Loss Table [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock

581Schedule Of Business Acquisitions By Acquisition [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfBusinessAcquisitionsByAcquisitionTable

582Schedule Of Entity Wide Information Revenue From External Customers By Products And Services [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable

583Schedule Of Entity Wide Disclosure On Geographic Areas Long Lived Assets In Individual Foreign Countries By Country [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryTextBlock

584Schedule Of Entity Wide Information Revenue From External Customers By Products And Services [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock

585Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable

586Schedule Of Goodwill [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfGoodwillTextBlock

587Schedule Of Goodwill [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfGoodwillTable

588Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems

589Schedule Of New Accounting Pronouncements And Changes In Accounting Principles [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock

590Schedule Of Restructuring And Related Costs [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfRestructuringAndRelatedCostsTable

591Schedule Of Restructuring Reserve By Type Of Cost [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfRestructuringReserveByTypeOfCostTextBlock

592Schedule Of Revenue From External Customers Attributed To Foreign Countries By Geographic Area [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock

593Schedule Of Property Plant And Equipment [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfPropertyPlantAndEquipmentTable

594Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable

595Schedule Of Segment Reporting Information By Segment [Table]xbrli:stringItemTypedurationtrueus-gaap

ScheduleOfSegmentReportingInformationBySegmentTable

596Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock

597Schedule Of Derivative Instruments In Statement Of Financial Position Fair Value [Text Block]nonnum:textBlockItemTypedurationus-gaap

ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock

598Securities Loanedxbrli:monetaryItemTypeinstantcreditus-gaap

SecuritiesLoaned

599Securities Received As Collateralxbrli:monetaryItemTypeinstantdebitus-gaap

SecuritiesReceivedAsCollateral

600Segment Reporting Disclosure Of Major Customersxbrli:stringItemTypedurationus-gaap

SegmentReportingDisclosureOfMajorCustomers

601Segment Reporting Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

SegmentReportingDisclosureTextBlock

602Segment Reporting Policy Policy [Text Block]nonnum:textBlockItemTypedurationus-gaap

SegmentReportingPolicyPolicyTextBlock

603Segment Reporting [Abstract]xbrli:stringItemTypedurationtrueus-gaap

SegmentReportingAbstract

604Segment [Domain]nonnum:domainItemTypedurationtrueus-gaap

SegmentDomain

605Segment Reporting Information [Line Items]xbrli:stringItemTypedurationtrueus-gaap

SegmentReportingInformationLineItems

606Segment Reporting Reconciling Item For Operating Profit Loss From Segment To Consolidated [Line Items]xbrli:stringItemTypedurationtrueus-gaap

SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems

607Segment Geographical [Domain]nonnum:domainItemTypedurationtrueus-gaap

SegmentGeographicalDomain

608Selling And Marketing Expensexbrli:monetaryItemTypedurationdebitus-gaap

SellingAndMarketingExpense

609Share Repurchase Program [Domain]nonnum:domainItemTypedurationtrueus-gaap

ShareRepurchaseProgramDomain

610Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeitures Weighted Average Grant Date Fair Valuenum:perShareItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue

611Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Weighted Average Grant Date Fair Value Roll Forwardxbrli:stringItemTypedurationtrueus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward

612Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Maximumnum:percentItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum

613Share Repurchase Program [Axis]xbrli:stringItemTypedurationtrueus-gaap

ShareRepurchaseProgramAxis

614Share Based Compensationxbrli:monetaryItemTypedurationdebitus-gaap

ShareBasedCompensation

615Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1xbrli:durationItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1

616Share Based Compensation Arrangement By Share Based Payment Award [Line Items]xbrli:stringItemTypedurationtrueus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems

617Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited In Periodxbrli:sharesItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod

618Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Risk Free Interest Rate Minimumnum:percentItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum

619Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Fair Valuexbrli:monetaryItemTypedurationdebitus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue

620Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Periodxbrli:sharesItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod

621us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (label)num:perShareItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue

622us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod (label)xbrli:sharesItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod

623us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue (label)num:perShareItemTypeinstantus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue

624Share Based Compensation Arrangement By Share Based Payment Award Maximum Employee Subscription Ratenum:percentItemTypeinstantus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate

625Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Weighted Average Grant Date Fair Valuenum:perShareItemTypedurationus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue

626us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber (label)xbrli:sharesItemTypeinstantus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber

627Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grantxbrli:sharesItemTypeinstantus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant

628Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Nonvested Roll Forwardxbrli:stringItemTypedurationtrueus-gaap

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward

629Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]nonnum:domainItemTypedurationtrueus-gaap

ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain

630Share Based Compensation Option And Incentive Plans Policynonnum:textBlockItemTypedurationus-gaap

ShareBasedCompensationOptionAndIncentivePlansPolicy

631Short Term Debt Weighted Average Interest Ratenum:percentItemTypeinstantus-gaap

ShortTermDebtWeightedAverageInterestRate

632Short Term Borrowingsxbrli:monetaryItemTypeinstantcreditus-gaap

ShortTermBorrowings

633Short Term Debt Type [Axis]xbrli:stringItemTypedurationtrueus-gaap

ShortTermDebtTypeAxis

634Short Term Investments [Member]nonnum:domainItemTypedurationtrueus-gaap

ShortTermInvestmentsMember

635Short [Member]nonnum:domainItemTypedurationtrueus-gaap

ShortMember

636Short Term Debt Type [Domain]nonnum:domainItemTypedurationtrueus-gaap

ShortTermDebtTypeDomain

637Significant Accounting Policies [Text Block]nonnum:textBlockItemTypedurationus-gaap

SignificantAccountingPoliciesTextBlock

638Software And Software Development Costs [Member]nonnum:domainItemTypedurationtrueus-gaap

SoftwareAndSoftwareDevelopmentCostsMember

639Standard Product Warranty Policynonnum:textBlockItemTypedurationus-gaap

StandardProductWarrantyPolicy

640Statement [Line Items]xbrli:stringItemTypedurationtrueus-gaap

StatementLineItems

641Statement Of Stockholders Equity [Abstract]xbrli:stringItemTypedurationtrueus-gaap

StatementOfStockholdersEquityAbstract

642Statement Geographical [Axis]xbrli:stringItemTypedurationtrueus-gaap

StatementGeographicalAxis

643Statement Of Cash Flows [Abstract]xbrli:stringItemTypedurationtrueus-gaap

StatementOfCashFlowsAbstract

644Statement Business Segments [Axis]xbrli:stringItemTypedurationtrueus-gaap

StatementBusinessSegmentsAxis

645Statement Of Income And Comprehensive Income [Abstract]xbrli:stringItemTypedurationtrueus-gaap

StatementOfIncomeAndComprehensiveIncomeAbstract

646us-gaap:StatementOfFinancialPositionAbstract (label)xbrli:stringItemTypedurationtrueus-gaap

StatementOfFinancialPositionAbstract

647Statement Scenario [Axis]xbrli:stringItemTypedurationtrueus-gaap

StatementScenarioAxis

648Statement [Table]xbrli:stringItemTypedurationtrueus-gaap

StatementTable

649Statement Equity Components [Axis]xbrli:stringItemTypedurationtrueus-gaap

StatementEquityComponentsAxis

650Stock Issued During Period Shares Employee Stock Purchase Plansxbrli:sharesItemTypedurationus-gaap

StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans

651Stock Issued During Period Value New Issuesxbrli:monetaryItemTypedurationcreditus-gaap

StockIssuedDuringPeriodValueNewIssues

652Stock Repurchase Program Remaining Authorized Repurchase Amount1xbrli:monetaryItemTypeinstantcreditus-gaap

StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1

653Stock Repurchase Program Authorized Amount1xbrli:monetaryItemTypeinstantcreditus-gaap

StockRepurchaseProgramAuthorizedAmount1

654Stock Issued During Period Shares New Issuesxbrli:sharesItemTypedurationus-gaap

StockIssuedDuringPeriodSharesNewIssues

655us-gaap:StockRepurchasedDuringPeriodValue (label)xbrli:monetaryItemTypedurationdebitus-gaap

StockRepurchasedDuringPeriodValue

656us-gaap:StockRepurchasedDuringPeriodShares (label)xbrli:sharesItemTypedurationus-gaap

StockRepurchasedDuringPeriodShares

657us-gaap:StockholdersEquity (label)xbrli:monetaryItemTypeinstantcreditus-gaap

StockholdersEquity

658Stockholders Equity [Abstract]xbrli:stringItemTypedurationtrueus-gaap

StockholdersEquityAbstract

659Stockholders Equity Otherxbrli:monetaryItemTypedurationdebitus-gaap

StockholdersEquityOther

660Stockholders Equity Note Disclosure [Text Block]nonnum:textBlockItemTypedurationus-gaap

StockholdersEquityNoteDisclosureTextBlock

661Summary Of Income Tax Contingencies [Text Block]nonnum:textBlockItemTypedurationus-gaap

SummaryOfIncomeTaxContingenciesTextBlock

662Tax Period [Domain]nonnum:domainItemTypedurationtrueus-gaap

TaxPeriodDomain

663Tax Period [Axis]xbrli:stringItemTypedurationtrueus-gaap

TaxPeriodAxis

664Technology Based Intangible Assets [Member]nonnum:domainItemTypedurationtrueus-gaap

TechnologyBasedIntangibleAssetsMember

665Trade And Other Accounts Receivable Policynonnum:textBlockItemTypedurationus-gaap

TradeAndOtherAccountsReceivablePolicy

666Type Of Restructuring [Domain]nonnum:domainItemTypedurationtrueus-gaap

TypeOfRestructuringDomain

667Type Of Adoption [Member]nonnum:domainItemTypedurationtrueus-gaap

TypeOfAdoptionMember

668Unconditional Purchase Obligation Category Of Goods Or Services Acquired [Domain]nonnum:domainItemTypedurationtrueus-gaap

UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain

669Undistributed Earnings Of Foreign Subsidiariesxbrli:monetaryItemTypeinstantcreditus-gaap

UndistributedEarningsOfForeignSubsidiaries

670Unrecognized Tax Benefits Income Tax Penalties And Interest Expensexbrli:monetaryItemTypedurationdebitus-gaap

UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense

671Unrecognized Tax Benefits Decreases Resulting From Settlements With Taxing Authoritiesxbrli:monetaryItemTypedurationdebitus-gaap

UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities

672Unrecognized Tax Benefits Increases Resulting From Prior Period Tax Positionsxbrli:monetaryItemTypedurationcreditus-gaap

UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions

673Unrecognized Tax Benefits Increases Resulting From Current Period Tax Positionsxbrli:monetaryItemTypedurationcreditus-gaap

UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions

674Unrecognized Tax Benefits Decreases Resulting From Prior Period Tax Positionsxbrli:monetaryItemTypedurationdebitus-gaap

UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions

675Unrecognized Tax Benefits Income Tax Penalties And Interest Accruedxbrli:monetaryItemTypeinstantcreditus-gaap

UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued

676Unrecognized Tax Benefits Reductions Resulting From Lapse Of Applicable Statute Of Limitationsxbrli:monetaryItemTypedurationdebitus-gaap

UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations

677us-gaap:UnrecognizedTaxBenefits (label)xbrli:monetaryItemTypeinstantcreditus-gaap

UnrecognizedTaxBenefits

678Unrecognized Tax Benefits That Would Impact Effective Tax Ratexbrli:monetaryItemTypeinstantcreditus-gaap

UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate

679Unrecorded Unconditional Purchase Obligation Balance Sheet Amountxbrli:monetaryItemTypeinstantcreditus-gaap

UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount

680Unrecorded Unconditional Purchase Obligation By Category Of Item Purchased [Axis]xbrli:stringItemTypedurationtrueus-gaap

UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis

681Unsecured Debt [Member]nonnum:domainItemTypedurationtrueus-gaap

UnsecuredDebtMember

682Use Of Estimatesnonnum:textBlockItemTypedurationus-gaap

UseOfEstimates

683us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)nonnum:domainItemTypedurationtrueus-gaap

USGovernmentAgenciesDebtSecuritiesMember

684U S States And Political Subdivisions [Member]nonnum:domainItemTypedurationtrueus-gaap

USStatesAndPoliticalSubdivisionsMember

685us-gaap:ValuationAllowancesAndReservesBalance (label)xbrli:monetaryItemTypeinstantcreditus-gaap

ValuationAllowancesAndReservesBalance

686Valuation Allowances And Reserves [Domain]nonnum:domainItemTypedurationtrueus-gaap

ValuationAllowancesAndReservesDomain

687Valuation And Qualifying Accounts Disclosure [Table]xbrli:stringItemTypedurationtrueus-gaap

ValuationAndQualifyingAccountsDisclosureTable

688Valuation Allowances And Reserves Type [Axis]xbrli:stringItemTypedurationtrueus-gaap

ValuationAllowancesAndReservesTypeAxis

689Valuation And Qualifying Accounts Disclosure [Line Items]xbrli:stringItemTypedurationtrueus-gaap

ValuationAndQualifyingAccountsDisclosureLineItems

690Valuation Allowances And Reserves Deductionsxbrli:monetaryItemTypedurationdebitus-gaap

ValuationAllowancesAndReservesDeductions

691us-gaap:WeightedAverageNumberOfSharesOutstandingBasic (label)xbrli:sharesItemTypedurationus-gaap

WeightedAverageNumberOfSharesOutstandingBasic

692us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding (label)xbrli:sharesItemTypedurationus-gaap

WeightedAverageNumberOfDilutedSharesOutstanding

693Weighted Average Number Of Shares Outstanding [Abstract]xbrli:stringItemTypedurationtrueus-gaap

WeightedAverageNumberOfSharesOutstandingAbstract

694Amendment Flagxbrli:booleanItemTypedurationdei

AmendmentFlag

695Current Fiscal Year End Datexbrli:gMonthDayItemTypedurationdei

CurrentFiscalYearEndDate

696Document Period End Datexbrli:dateItemTypedurationdei

DocumentPeriodEndDate

697Entity [Domain]nonnum:domainItemTypedurationtruedei

EntityDomain

698Trading Symbolxbrli:normalizedStringItemTypedurationdei

TradingSymbol

699Entity Well Known Seasoned Issuerdei:yesNoItemTypedurationdei

EntityWellKnownSeasonedIssuer

700Entity Voluntary Filersdei:yesNoItemTypedurationdei

EntityVoluntaryFilers

701Entity Current Reporting Statusdei:yesNoItemTypedurationdei

EntityCurrentReportingStatus

702Entity Filer Categorydei:filerCategoryItemTypedurationdei

EntityFilerCategory

703Entity Public Floatxbrli:monetaryItemTypeinstantcreditdei

EntityPublicFloat

704Entity Registrant Namexbrli:normalizedStringItemTypedurationdei

EntityRegistrantName

705Entity Central Index Keydei:centralIndexKeyItemTypedurationdei

EntityCentralIndexKey

706Entity Tax Identification Numberdei:nineDigitItemTypedurationdei

EntityTaxIdentificationNumber

707Entity Common Stock Shares Outstandingxbrli:sharesItemTypeinstantdei

EntityCommonStockSharesOutstanding

708Entity Listing Par Value Per Sharenum:perShareItemTypedurationdei

EntityListingParValuePerShare

709Document Fiscal Year Focusxbrli:gYearItemTypedurationdei

DocumentFiscalYearFocus

710Document Fiscal Period Focusdei:fiscalPeriodItemTypedurationdei

DocumentFiscalPeriodFocus

711Legal Entity [Axis]xbrli:stringItemTypedurationtruedei

LegalEntityAxis

712Document Typedei:submissionTypeItemTypedurationdei

DocumentType

713IRELANDnonnum:domainItemTypedurationtruecountry

IE

714LUXEMBOURGnonnum:domainItemTypedurationtruecountry

LU

715UNITED STATESnonnum:domainItemTypedurationtruecountry

US

716Investment [Table]xbrli:stringItemTypedurationtrueinvest

InvestmentTable

717Investment [Line Items]xbrli:stringItemTypedurationtrueinvest

InvestmentLineItems

718Derivative Notional Amountxbrli:monetaryItemTypeinstantinvest

DerivativeNotionalAmount

719Deferred Tax Assets Depreciation And Amortizationxbrli:monetaryItemTypeinstantdebitfalsemsft

DeferredTaxAssetsDepreciationAndAmortization

720Deferred Tax Liabilities Unrealized Gains Investments And Debtxbrli:monetaryItemTypeinstantcreditfalsemsft

DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt

721Deferred Tax Liabilities Depreciation And Amortizationxbrli:monetaryItemTypeinstantcreditfalsemsft

DeferredTaxLiabilitiesDepreciationAndAmortization

722Document And Entity Information [Abstract]xbrli:stringItemTypedurationtruemsft

DocumentAndEntityInformationAbstract

723Sales Revenue Services And Other Netxbrli:monetaryItemTypedurationcreditfalsemsft

SalesRevenueServicesAndOtherNet

724Cost Of Services And Otherxbrli:monetaryItemTypedurationdebitfalsemsft

CostOfServicesAndOther

725Impairment Integration And Restructuring Expensesxbrli:monetaryItemTypedurationdebitfalsemsft

ImpairmentIntegrationAndRestructuringExpenses

726Depreciation Amortization And Otherxbrli:monetaryItemTypedurationdebitfalsemsft

DepreciationAmortizationAndOther

727Gain Loss On Investments And Derivative Instrumentsxbrli:monetaryItemTypedurationcreditfalsemsft

GainLossOnInvestmentsAndDerivativeInstruments

728Acquisitions Net Of Cash Acquired And Purchases Of Intangible And Other Assetsxbrli:monetaryItemTypedurationcreditfalsemsft

AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets

729Product Revenue And Service And Other Revenue Policy [Text Block]nonnum:textBlockItemTypedurationfalsemsft

ProductRevenueAndServiceAndOtherRevenuePolicyTextBlock

730Selling And Marketing Policy [Text Block]nonnum:textBlockItemTypedurationfalsemsft

SellingAndMarketingPolicyTextBlock

731Schedule Of Cash Cash Equivalents And Investments Table [Text Block]nonnum:textBlockItemTypedurationfalsemsft

ScheduleOfCashCashEquivalentsAndInvestmentsTableTextBlock

732Reconciliation Of Assets Measured At Fair Value On Recurring Basis To Balance Sheet Presentation Table [Text Block]nonnum:textBlockItemTypedurationfalsemsft

ReconciliationOfAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationTableTextBlock

733msft:LinkedInCorporationMember (label)nonnum:domainItemTypedurationtruemsft

LinkedInCorporationMember

734Revenue And Operating Loss Attributable To Acquiree Since Acquisition Date Table [Text Block]nonnum:textBlockItemTypedurationfalsemsft

RevenueAndOperatingLossAttributableToAcquireeSinceAcquisitionDateTableTextBlock

735Deferred Revenue By Segment [Text Block]nonnum:textBlockItemTypedurationfalsemsft

DeferredRevenueBySegmentTextBlock

736Share Repurchase Program Disclosure Table [Text Block]nonnum:textBlockItemTypedurationfalsemsft

ShareRepurchaseProgramDisclosureTableTextBlock

737Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Method Used Table [Text Block]nonnum:textBlockItemTypedurationfalsemsft

ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTableTextBlock

738Revenue Recognition Periodxbrli:durationItemTypedurationfalsemsft

RevenueRecognitionPeriod

739Significant Accounting Policies [Line Items]xbrli:stringItemTypedurationtruemsft

SignificantAccountingPoliciesLineItems

740Significant Accounting Policies [Table]xbrli:stringItemTypedurationtruemsft

SignificantAccountingPoliciesTable

741msft:WindowsTenDeferralMember (label)nonnum:domainItemTypedurationtruemsft

WindowsTenDeferralMember

742Valuation Allowances And Reserves Charged To Costs And Otherxbrli:monetaryItemTypedurationcreditfalsemsft

ValuationAllowancesAndReservesChargedToCostsAndOther

743Operating Lease Right Of Use Assetsxbrli:monetaryItemTypeinstantdebitfalsemsft

OperatingLeaseRightOfUseAssets

744Operating Lease Liabilitiesxbrli:monetaryItemTypeinstantcreditfalsemsft

OperatingLeaseLiabilities

745Accounts Receivable Net And Other Assetsxbrli:monetaryItemTypeinstantdebitfalsemsft

AccountsReceivableNetAndOtherAssets

746Schedule Of Earnings Per Share Basic And Diluted By Common Class [Line Items]xbrli:stringItemTypedurationtruemsft

ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassLineItems

747Schedule Of Earnings Per Share Basic And Diluted By Common Class [Table]xbrli:stringItemTypedurationtruemsft

ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassTable

748Other Income Expense [Table]xbrli:stringItemTypedurationtruemsft

OtherIncomeExpenseTable

749Cash Cash Equivalents And Investments [Line Items]xbrli:stringItemTypedurationtruemsft

CashCashEquivalentsAndInvestmentsLineItems

750Cash Cash Equivalents And Investments [Table]xbrli:stringItemTypedurationtruemsft

CashCashEquivalentsAndInvestmentsTable

751Other Security Investments [Member]nonnum:domainItemTypedurationtruemsft

OtherSecurityInvestmentsMember

752Investments Unrealized Loss Position [Line Items]xbrli:stringItemTypedurationtruemsft

InvestmentsUnrealizedLossPositionLineItems

753Investments Unrealized Loss Position [Table]xbrli:stringItemTypedurationtruemsft

InvestmentsUnrealizedLossPositionTable

754Investments Classified By Contractual Maturity Date [Line Items]xbrli:stringItemTypedurationtruemsft

InvestmentsClassifiedByContractualMaturityDateLineItems

755Investments Classified By Contractual Maturity Date [Table]xbrli:stringItemTypedurationtruemsft

InvestmentsClassifiedByContractualMaturityDateTable

756Financial Instrument Covenant Minimum Liquidity Requirementxbrli:monetaryItemTypedurationdebitfalsemsft

FinancialInstrumentCovenantMinimumLiquidityRequirement

757Financial Instrument Covenant Minimum Liquidityxbrli:monetaryItemTypeinstantdebitfalsemsft

FinancialInstrumentCovenantMinimumLiquidity

758Derivative Assets Net Amounts Presented In Balance Sheetxbrli:monetaryItemTypeinstantdebitfalsemsft

DerivativeAssetsNetAmountsPresentedInBalanceSheet

759Derivative Fair Value Of Derivative Asset Amount Not Offsetxbrli:monetaryItemTypeinstantdebitfalsemsft

DerivativeFairValueOfDerivativeAssetAmountNotOffset

760Derivative Assets Potential Net Amounts Not Presented In Balance Sheetxbrli:monetaryItemTypeinstantdebitfalsemsft

DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet

761Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheetxbrli:monetaryItemTypeinstantcreditfalsemsft

DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet

762Derivative Liabilities Net Amounts Presented In Balance Sheetxbrli:monetaryItemTypeinstantcreditfalsemsft

DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet

763Derivative Fair Value Of Derivative Liability Amount Not Offsetxbrli:monetaryItemTypeinstantcreditfalsemsft

DerivativeFairValueOfDerivativeLiabilityAmountNotOffset

764Equity And Other Investments [Member]nonnum:domainItemTypedurationtruemsft

EquityAndOtherInvestmentsMember

765Balance Sheet Offsetting Eligibility [Axis]xbrli:stringItemTypedurationtruemsft

BalanceSheetOffsettingEligibilityAxis

766Balance Sheet Offsetting Eligibility [Domain]nonnum:domainItemTypedurationtruemsft

BalanceSheetOffsettingEligibilityDomain

767Eligible For Offsetting [Member]nonnum:domainItemTypedurationtruemsft

EligibleForOffsettingMember

768Gain Loss On Cash Flow Hedge Effectiveness Net [Abstract]xbrli:stringItemTypedurationtruemsft

GainLossOnCashFlowHedgeEffectivenessNetAbstract

769Right Of Offset And Netting [Axis]xbrli:stringItemTypedurationtruemsft

RightOfOffsetAndNettingAxis

770Right Of Offset And Netting [Domain]nonnum:domainItemTypedurationtruemsft

RightOfOffsetAndNettingDomain

771Gross [Member]nonnum:domainItemTypedurationtruemsft

GrossMember

772Netting [Member]nonnum:domainItemTypedurationtruemsft

NettingMember

773Net [Member]nonnum:domainItemTypedurationtruemsft

NetMember

774Computer Hardware And Softwarexbrli:monetaryItemTypeinstantdebitfalsemsft

ComputerHardwareAndSoftware

775Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Short Term Debtxbrli:monetaryItemTypeinstantcreditfalsemsft

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt

776Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Other Liabilities Netxbrli:monetaryItemTypeinstantcreditfalsemsft

BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet

777Productivity And Business Processes [Member]nonnum:domainItemTypedurationtruemsft

ProductivityAndBusinessProcessesMember

778Intelligent Cloud [Member]nonnum:domainItemTypedurationtruemsft

IntelligentCloudMember

779More Personal Computing [Member]nonnum:domainItemTypedurationtruemsft

MorePersonalComputingMember

780Phone Hardware [Member]nonnum:domainItemTypedurationtruemsft

PhoneHardwareMember

781Devices [Member]nonnum:domainItemTypedurationtruemsft

DevicesMember

782Acquired Finite Lived Intangible Assetsxbrli:monetaryItemTypedurationdebitfalsemsft

AcquiredFiniteLivedIntangibleAssets

783Credit Facility Expire On October Thirty One Twenty Seventeen [Member]nonnum:domainItemTypedurationtruemsft

CreditFacilityExpireOnOctoberThirtyOneTwentySeventeenMember

784Credit Facility Expire On November Fourteen Twenty Eighteen [Member]nonnum:domainItemTypedurationtruemsft

CreditFacilityExpireOnNovemberFourteenTwentyEighteenMember

785Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]nonnum:domainItemTypedurationtruemsft

NotesZeroPointEightSevenFivePercentDueNovemberFifteenTwentySeventeenMember

786Notes One Point Zero Percent Due May One Twenty Eighteen [Member]nonnum:domainItemTypedurationtruemsft

NotesOnePointZeroPercentDueMayOneTwentyEighteenMember

787Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]nonnum:domainItemTypedurationtruemsft

NotesOnePointThreeZeroPercentDueNovemberThreeTwentyEighteenMember

788Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]nonnum:domainItemTypedurationtruemsft

NotesOnePointSixTwoFivePercentDueDecemberSixTwentyEighteenMember

789Notes Four Point Two Percent Due June One Twenty Nineteen [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointTwoPercentDueJuneOneTwentyNineteenMember

790Notes One Point One Percent Due August Eight Twenty Nineteen [Member]nonnum:domainItemTypedurationtruemsft

NotesOnePointOnePercentDueAugustEightTwentyNineteenMember

791Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]nonnum:domainItemTypedurationtruemsft

NotesZeroPointFivePercentDueNovemberOneTwentyNineteenMember

792Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]nonnum:domainItemTypedurationtruemsft

NotesOnePointEightFivePercentDueFebruarySixTwentyTwentyMember

793Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]nonnum:domainItemTypedurationtruemsft

NotesOnePointEightFivePercentDueFebruaryTwelveTwentyTwentyMember

794Notes Three Point Zero Percent Due October One Twenty Twenty [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointZeroPercentDueOctoberOneTwentyTwentyMember

795Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointZeroPercentDueNovemberThreeTwentyTwentyMember

796Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointZeroPercentDueFebruaryEightTwentyTwentyOneMember

797Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]nonnum:domainItemTypedurationtruemsft

NotesOnePointFiveFivePercentDueAugustEightTwentyTwentyOneMember

798Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointOneTwoFivePercentDueDecemberSixTwentyTwentyOneMember

799Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointFourPercentDueFebruarySixTwentyTwentyTwoMember

800Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointThreeSevenFivePercentDueFebruaryTwelveTwentyTwentyTwoMember

801Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointSixFivePercentDueNovemberThreeTwentyTwentyTwoMember

802Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointOneTwoFivePercentDueNovemberFifteenTwentyTwentyTwoMember

803Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointThreeSevenFivePercentDueMayOneTwentyTwentyThreeMember

804Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointZeroPercentDueAugustEightTwentyTwentyThreeMember

805Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointSixTwoFivePercentDueDecemberFifteenTwentyTwentyThreeMember

806Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointEightSevenFivePercentDueFebruarySixTwentyTwentyFourMember

807Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointSevenPercentDueFebruaryTwelveTwentyTwentyFiveMember

808Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointOneTwoFivePercentDueNovemberThreeTwentyTwentyFiveMember

809Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointFourPercentDueAugustEightTwentyTwentySixMember

810Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointThreePercentDueFebruarySixTwentyTwentySevenMember

811Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointOneTwoFivePercentDueDecemberSixTwentyTwentyEightMember

812Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]nonnum:domainItemTypedurationtruemsft

NotesTwoPointSixTwoFivePercentDueMayTwoTwentyThirtyThreeMember

813Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointFivePercentDueFebruaryTwelveTwentyThirtyFiveMember

814Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointTwoPercentDueNovemberThreeTwentyThirtyFiveMember

815Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointFourFivePercentDueAugustEightTwentyThirtySixMember

816Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointOnePercentDueFebruarySixTwentyThirtySevenMember

817Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]nonnum:domainItemTypedurationtruemsft

NotesFivePointTwoPercentDueJuneOneTwentyThirtyNineMember

818Notes Four Point Five Percent Due October One Twenty Forty [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointFivePercentDueOctoberOneTwentyFortyMember

819Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]nonnum:domainItemTypedurationtruemsft

NotesFivePointThreePercentDueFebruaryEightTwentyFortyOneMember

820Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointFivePercentDueNovemberFifteenTwentyFortyTwoMember

821Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointSevenFivePercentDueMayOneTwentyFortyThreeMember

822Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointEightSevenFivePercentDueDecemberFifteenTwentyFortyThreeMember

823Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointSevenFivePercentDueFebruaryTwelveTwentyFortyFiveMember

824Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointFourFivePercentDueNovemberThreeTwentyFortyFiveMember

825Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointSevenPercentDueAugustEightTwentyFortySixMember

826Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointTwoFivePercentDueFebruarySixTwentyFortySevenMember

827Notes Four Percent Due February Twelve Twenty Fifty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPercentDueFebruaryTwelveTwentyFiftyFiveMember

828Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointSevenFivePercentDueNovemberThreeTwentyFiftyFiveMember

829Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]nonnum:domainItemTypedurationtruemsft

NotesThreePointNineFivePercentDueAugustEightTwentyFiftySixMember

830Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]nonnum:domainItemTypedurationtruemsft

NotesFourPointFivePercentDueFebruarySixTwentyFiftySevenMember

831U S D Debt Issued In Period [Member]nonnum:domainItemTypedurationtruemsft

USDDebtIssuedInPeriodMember

832Reconciliation Of Provision Of Income Taxes [Line Items]xbrli:stringItemTypedurationtruemsft

ReconciliationOfProvisionOfIncomeTaxesLineItems

833Reconciliation Of Provision Of Income Taxes [Table]xbrli:stringItemTypedurationtruemsft

ReconciliationOfProvisionOfIncomeTaxesTable

834Income Taxes [Line Items]xbrli:stringItemTypedurationtruemsft

IncomeTaxesLineItems

835Income Taxes [Table]xbrli:stringItemTypedurationtruemsft

IncomeTaxesTable

836Phone Business [Member]nonnum:domainItemTypedurationtruemsft

PhoneBusinessMember

837Impairment Integration And Restructuring Expenses [Member]nonnum:domainItemTypedurationtruemsft

ImpairmentIntegrationAndRestructuringExpensesMember

838Regional Operating Centers [Member]nonnum:domainItemTypedurationtruemsft

RegionalOperatingCentersMember

839Schedule Of Components Of Income Before Income Tax Expense Benefit [Line Items]xbrli:stringItemTypedurationtruemsft

ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitLineItems

840Schedule Of Components Of Income Before Income Tax Expense Benefit [Table]xbrli:stringItemTypedurationtruemsft

ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitTable

841Effective Income Tax Rate Reconciliation Phone Business Gains Lossesnum:percentItemTypedurationfalsemsft

EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses

842Effective Income Tax Rate Reconciliation Deductions Excess Tax Benefits Stock Based Compensationnum:percentItemTypedurationfalsemsft

EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation

843Effective Income Tax Rate Reconciliation Interest Income Expensenum:percentItemTypedurationfalsemsft

EffectiveIncomeTaxRateReconciliationInterestIncomeExpense

844Reconciliation Of Statutory Federal Tax Rate [Line Items]xbrli:stringItemTypedurationtruemsft

ReconciliationOfStatutoryFederalTaxRateLineItems

845Reconciliation Of Statutory Federal Tax Rate [Table]xbrli:stringItemTypedurationtruemsft

ReconciliationOfStatutoryFederalTaxRateTable

846Foreign Earnings Taxed At Rates Lower Than Us Ratenum:percentItemTypedurationfalsemsft

ForeignEarningsTaxedAtRatesLowerThanUsRate

847Schedule Of Deferred Income Tax Assets And Liabilities [Line Items]xbrli:stringItemTypedurationtruemsft

ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesLineItems

848Schedule Of Deferred Income Tax Assets And Liabilities [Table]xbrli:stringItemTypedurationtruemsft

ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesTable

849Deferred Income Tax Liabilities Noncurrent [Member]nonnum:domainItemTypedurationtruemsft

DeferredIncomeTaxLiabilitiesNoncurrentMember

850Phone Hardware Restructuring Plan [Member]nonnum:domainItemTypedurationtruemsft

PhoneHardwareRestructuringPlanMember

851msft:TwentySixteenRestructuringPlanMember (label)nonnum:domainItemTypedurationtruemsft

TwentySixteenRestructuringPlanMember

852Twenty Seventeen Restructuring Plan [Member]nonnum:domainItemTypedurationtruemsft

TwentySeventeenRestructuringPlanMember

853Corporate And Reconciling Items [Member]nonnum:domainItemTypedurationtruemsft

CorporateAndReconcilingItemsMember

854Commitments [Line Items]xbrli:stringItemTypedurationtruemsft

CommitmentsLineItems

855Commitments [Table]xbrli:stringItemTypedurationtruemsft

CommitmentsTable

856Building Building Improvements And Leasehold Improvements [Member]nonnum:domainItemTypedurationtruemsft

BuildingBuildingImprovementsAndLeaseholdImprovementsMember

857Capital Lease [Member]nonnum:domainItemTypedurationtruemsft

CapitalLeaseMember

858Future Minimum Lease Payments Under Non Cancellable Capital Leases [Line Items]xbrli:stringItemTypedurationtruemsft

FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems

859Future Minimum Lease Payments Under Non Cancellable Capital Leases [Table]xbrli:stringItemTypedurationtruemsft

FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable

860Share Repurchases [Line Items]xbrli:stringItemTypedurationtruemsft

ShareRepurchasesLineItems

861Share Repurchases [Table]xbrli:stringItemTypedurationtruemsft

ShareRepurchasesTable

862Share Repurchase Program Twenty Thirteen [Member]nonnum:domainItemTypedurationtruemsft

ShareRepurchaseProgramTwentyThirteenMember

863Share Repurchase Program Twenty Sixteen [Member]nonnum:domainItemTypedurationtruemsft

ShareRepurchaseProgramTwentySixteenMember

864Dividends [Line Items]xbrli:stringItemTypedurationtruemsft

DividendsLineItems

865Dividends [Table]xbrli:stringItemTypedurationtruemsft

DividendsTable

866Accumulated Translation Adjustment And Other [Member]nonnum:domainItemTypedurationtruemsft

AccumulatedTranslationAdjustmentAndOtherMember

867Compensation Related Costs Disclosure [Line Items]xbrli:stringItemTypedurationtruemsft

CompensationRelatedCostsDisclosureLineItems

868Compensation Related Costs Disclosure [Table]xbrli:stringItemTypedurationtruemsft

CompensationRelatedCostsDisclosureTable

869Executive Incentive Plan [Member]nonnum:domainItemTypedurationtruemsft

ExecutiveIncentivePlanMember

870First Six Percent Of Participant Contributions [Member]nonnum:domainItemTypedurationtruemsft

FirstSixPercentOfParticipantContributionsMember

871I R S Compensation Limit [Member]nonnum:domainItemTypedurationtruemsft

IRSCompensationLimitMember

872Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Sharenum:perShareItemTypedurationfalsemsft

ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendsPerShare

873Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Method Used [Line Items]xbrli:stringItemTypedurationtruemsft

ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedLineItems

874Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Method Used [Table]xbrli:stringItemTypedurationtruemsft

ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTable

875Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Assumed Acquisition In Periodxbrli:sharesItemTypedurationfalsemsft

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedAcquisitionInPeriod

876Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Assumed In Acquisitions Weighted Average Grant Date Fair Valuenum:perShareItemTypedurationfalsemsft

ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInAcquisitionsWeightedAverageGrantDateFairValue

877Stock Issued Employee Stock Purchase Plan Average Price Per Sharenum:perShareItemTypedurationfalsemsft

StockIssuedEmployeeStockPurchasePlanAveragePricePerShare

878Employee Stock Purchase Plan [Line Items]xbrli:stringItemTypedurationtruemsft

EmployeeStockPurchasePlanLineItems

879Employee Stock Purchase Plan [Table]xbrli:stringItemTypedurationtruemsft

EmployeeStockPurchasePlanTable

880Geographic Information [Line Items]xbrli:stringItemTypedurationtruemsft

GeographicInformationLineItems

881Geographic Information [Table]xbrli:stringItemTypedurationtruemsft

GeographicInformationTable

882Microsoft Office System [Member]nonnum:domainItemTypedurationtruemsft

MicrosoftOfficeSystemMember

883Server Products And Tools [Member]nonnum:domainItemTypedurationtruemsft

ServerProductsAndToolsMember

884Xbox [Member]nonnum:domainItemTypedurationtruemsft

XboxMember

885Windows Operating Systems For Computing Devices [Member]nonnum:domainItemTypedurationtruemsft

WindowsOperatingSystemsForComputingDevicesMember

886Advertising [Member]nonnum:domainItemTypedurationtruemsft

AdvertisingMember

887Consulting And Product Support Services [Member]nonnum:domainItemTypedurationtruemsft

ConsultingAndProductSupportServicesMember

888Other Products And Services [Member]nonnum:domainItemTypedurationtruemsft

OtherProductsAndServicesMember

889Products Or Services Secondary Categorization [Axis]xbrli:stringItemTypedurationtruemsft

ProductsOrServicesSecondaryCategorizationAxis

890Products Or Services Name Secondary Categorization [Domain]nonnum:domainItemTypedurationtruemsft

ProductsOrServicesNameSecondaryCategorizationDomain

891Commercial Cloud [Member]nonnum:domainItemTypedurationtruemsft

CommercialCloudMember

892Certain Long Lived Assets By Geography [Line Items]xbrli:stringItemTypedurationtruemsft

CertainLongLivedAssetsByGeographyLineItems

893Certain Long Lived Assets By Geography [Table]xbrli:stringItemTypedurationtruemsft

CertainLongLivedAssetsByGeographyTable

894Other Countries [Member]nonnum:domainItemTypedurationtruemsft

OtherCountriesMember

895Quarterly Financial Information [Line Items]xbrli:stringItemTypedurationtruemsft

QuarterlyFinancialInformationLineItems

896Quarterly Financial Information [Table]xbrli:stringItemTypedurationtruemsft

QuarterlyFinancialInformationTable

897Sales And Marketing Restructuring Plan [Member]nonnum:domainItemTypedurationtruemsft

SalesAndMarketingRestructuringPlanMember

898Impairment Integration And Restructuring Effect On Operating Income Loss After Taxxbrli:monetaryItemTypedurationcreditfalsemsft

ImpairmentIntegrationAndRestructuringEffectOnOperatingIncomeLossAfterTax

899Impairment Integration And Restructuring Effect On Earnings After Taxxbrli:monetaryItemTypedurationcreditfalsemsft

ImpairmentIntegrationAndRestructuringEffectOnEarningsAfterTax

900Impairment Integration And Restructuring Effect On Earnings Per Share After Taxnum:perShareItemTypedurationfalsemsft

ImpairmentIntegrationAndRestructuringEffectOnEarningsPerShareAfterTax

Model Structures


Model Structure
Network
100000 - Document - Document and Entity Information
(http://www.microsoft.com/20170630/taxonomy/role/DocumentDocumentAndEntityInformation)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Document And Entity Information [Abstract]Abstractdurationmsft:DocumentAndEntityInformationAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 dei:DocumentType (terseLabel)Concept (xbrli:stringItemType)durationdei:DocumentType
7 dei:AmendmentFlag (terseLabel)Concept (Boolean)durationdei:AmendmentFlag
8 dei:DocumentPeriodEndDate (terseLabel)Concept (Date)durationdei:DocumentPeriodEndDate
9 dei:DocumentFiscalYearFocus (terseLabel)Concept (gYear)durationdei:DocumentFiscalYearFocus
10 dei:DocumentFiscalPeriodFocus (terseLabel)Concept (xbrli:tokenItemType)durationdei:DocumentFiscalPeriodFocus
11 dei:TradingSymbol (terseLabel)Concept (String-Normalized)durationdei:TradingSymbol
12 dei:EntityRegistrantName (terseLabel)Concept (String-Normalized)durationdei:EntityRegistrantName
13 dei:EntityCentralIndexKey (terseLabel)Concept (xbrli:tokenItemType)durationdei:EntityCentralIndexKey
14 dei:CurrentFiscalYearEndDate (terseLabel)Concept (gMonthDay)durationdei:CurrentFiscalYearEndDate
15 dei:EntityWellKnownSeasonedIssuer (terseLabel)Concept (xbrli:tokenItemType)durationdei:EntityWellKnownSeasonedIssuer
16 dei:EntityCurrentReportingStatus (terseLabel)Concept (xbrli:tokenItemType)durationdei:EntityCurrentReportingStatus
17 dei:EntityVoluntaryFilers (terseLabel)Concept (xbrli:tokenItemType)durationdei:EntityVoluntaryFilers
18 dei:EntityFilerCategory (terseLabel)Concept (xbrli:stringItemType)durationdei:EntityFilerCategory
19 dei:EntityListingParValuePerShare (terseLabel)Concept (Per-Share)durationdei:EntityListingParValuePerShare
20 dei:EntityCommonStockSharesOutstanding (terseLabel)Concept (Shares)instantdei:EntityCommonStockSharesOutstanding
21 dei:EntityPublicFloat (terseLabel)Concept (Monetary)instantcreditdei:EntityPublicFloat
22 dei:EntityTaxIdentificationNumber (terseLabel)Concept (xbrli:tokenItemType)durationdei:EntityTaxIdentificationNumber

Model Structure
Network
100010 - Statement - INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1us-gaap:IncomeStatementAbstract (label)Abstractdurationus-gaap:IncomeStatementAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:SalesRevenueNetAbstract (terseLabel)Abstractdurationus-gaap:SalesRevenueNetAbstract
7 us-gaap:SalesRevenueGoodsNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueGoodsNet
8 msft:SalesRevenueServicesAndOtherNet (terseLabel)Concept (Monetary)durationcreditmsft:SalesRevenueServicesAndOtherNet
9 us-gaap:SalesRevenueNet (totalLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet
10 us-gaap:CostOfRevenueAbstract (terseLabel)Abstractdurationus-gaap:CostOfRevenueAbstract
11 us-gaap:CostOfGoodsSold (terseLabel)Concept (Monetary)durationdebitus-gaap:CostOfGoodsSold
12 msft:CostOfServicesAndOther (terseLabel)Concept (Monetary)durationdebitmsft:CostOfServicesAndOther
13 us-gaap:CostOfRevenue (totalLabel)Concept (Monetary)durationdebitus-gaap:CostOfRevenue
14 us-gaap:GrossProfit (totalLabel)Concept (Monetary)durationcreditus-gaap:GrossProfit
15 us-gaap:ResearchAndDevelopmentExpense (terseLabel)Concept (Monetary)durationdebitus-gaap:ResearchAndDevelopmentExpense
16 us-gaap:SellingAndMarketingExpense (terseLabel)Concept (Monetary)durationdebitus-gaap:SellingAndMarketingExpense
17 us-gaap:GeneralAndAdministrativeExpense (terseLabel)Concept (Monetary)durationdebitus-gaap:GeneralAndAdministrativeExpense
18 msft:ImpairmentIntegrationAndRestructuringExpenses (terseLabel)Concept (Monetary)durationdebitmsft:ImpairmentIntegrationAndRestructuringExpenses
19 us-gaap:OperatingIncomeLoss (totalLabel)Concept (Monetary)durationcreditus-gaap:OperatingIncomeLoss
20 us-gaap:NonoperatingIncomeExpense (terseLabel)Concept (Monetary)durationcreditus-gaap:NonoperatingIncomeExpense
21 us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments (totalLabel)Concept (Monetary)durationcreditus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments
22 us-gaap:IncomeTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:IncomeTaxExpenseBenefit
23 us-gaap:NetIncomeLoss (totalLabel)Concept (Monetary)durationcreditus-gaap:NetIncomeLoss
24 us-gaap:EarningsPerShareAbstract (terseLabel)Abstractdurationus-gaap:EarningsPerShareAbstract
25 us-gaap:EarningsPerShareBasic (terseLabel)Concept (Per-Share)durationus-gaap:EarningsPerShareBasic
26 us-gaap:EarningsPerShareDiluted (terseLabel)Concept (Per-Share)durationus-gaap:EarningsPerShareDiluted
27 us-gaap:WeightedAverageNumberOfSharesOutstandingAbstract (terseLabel)Abstractdurationus-gaap:WeightedAverageNumberOfSharesOutstandingAbstract
28 us-gaap:WeightedAverageNumberOfSharesOutstandingBasic (terseLabel)Concept (Shares)durationus-gaap:WeightedAverageNumberOfSharesOutstandingBasic
29 us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding (terseLabel)Concept (Shares)durationus-gaap:WeightedAverageNumberOfDilutedSharesOutstanding
30 us-gaap:CommonStockDividendsPerShareDeclared (terseLabel)Concept (Per-Share)durationus-gaap:CommonStockDividendsPerShareDeclared

Model Structure
Network
100020 - Statement - COMPREHENSIVE INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Income And Comprehensive Income [Abstract]Abstractdurationus-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:NetIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:NetIncomeLoss
7 us-gaap:OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract (terseLabel)Abstractdurationus-gaap:OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract
8 us-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax (terseLabel)Concept (Monetary)durationcreditus-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax
9 us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax (terseLabel)Concept (Monetary)durationcreditus-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax
10 us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax (terseLabel)Concept (Monetary)durationcreditus-gaap:OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax
11 us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (totalLabel)Concept (Monetary)durationcreditus-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
12 us-gaap:ComprehensiveIncomeNetOfTax (totalLabel)Concept (Monetary)durationcreditus-gaap:ComprehensiveIncomeNetOfTax

Model Structure
Network
100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTSParenthetical)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Income And Comprehensive Income [Abstract]Abstractdurationus-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesTax (terseLabel)Concept (Monetary)durationdebitus-gaap:OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesTax
7 us-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax (terseLabel)Concept (Monetary)durationdebitus-gaap:OtherComprehensiveIncomeLossAvailableForSaleSecuritiesTax
8 us-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax (terseLabel)Concept (Monetary)durationdebitus-gaap:OtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentTax

Model Structure
Network
100040 - Statement - BALANCE SHEETS
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1us-gaap:StatementOfFinancialPositionAbstract (label)Abstractdurationus-gaap:StatementOfFinancialPositionAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:AssetsAbstract (terseLabel)Abstractdurationus-gaap:AssetsAbstract
7 us-gaap:AssetsCurrentAbstract (terseLabel)Abstractdurationus-gaap:AssetsCurrentAbstract
8 us-gaap:CashAndCashEquivalentsAtCarryingValue (terseLabel)Concept (Monetary)instantdebitus-gaap:CashAndCashEquivalentsAtCarryingValue
9 us-gaap:AvailableForSaleSecuritiesCurrent (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesCurrent
10 us-gaap:CashCashEquivalentsAndShortTermInvestments (totalLabel)Concept (Monetary)instantdebitus-gaap:CashCashEquivalentsAndShortTermInvestments
11 us-gaap:AccountsReceivableNetCurrent (terseLabel)Concept (Monetary)instantdebitus-gaap:AccountsReceivableNetCurrent
12 us-gaap:InventoryNet (terseLabel)Concept (Monetary)instantdebitus-gaap:InventoryNet
13 us-gaap:OtherAssetsCurrent (terseLabel)Concept (Monetary)instantdebitus-gaap:OtherAssetsCurrent
14 us-gaap:AssetsCurrent (totalLabel)Concept (Monetary)instantdebitus-gaap:AssetsCurrent
15 us-gaap:PropertyPlantAndEquipmentNet (terseLabel)Concept (Monetary)instantdebitus-gaap:PropertyPlantAndEquipmentNet
16 us-gaap:LongTermInvestments (terseLabel)Concept (Monetary)instantdebitus-gaap:LongTermInvestments
17 us-gaap:Goodwill (terseLabel)Concept (Monetary)instantdebitus-gaap:Goodwill
18 us-gaap:FiniteLivedIntangibleAssetsNet (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsNet
19 us-gaap:OtherAssetsNoncurrent (terseLabel)Concept (Monetary)instantdebitus-gaap:OtherAssetsNoncurrent
20 us-gaap:Assets (totalLabel)Concept (Monetary)instantdebitus-gaap:Assets
21 us-gaap:LiabilitiesAndStockholdersEquityAbstract (terseLabel)Abstractdurationus-gaap:LiabilitiesAndStockholdersEquityAbstract
22 us-gaap:LiabilitiesCurrentAbstract (terseLabel)Abstractdurationus-gaap:LiabilitiesCurrentAbstract
23 us-gaap:AccountsPayableCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:AccountsPayableCurrent
24 us-gaap:ShortTermBorrowings (terseLabel)Concept (Monetary)instantcreditus-gaap:ShortTermBorrowings
25 us-gaap:LongTermDebtCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtCurrent
26 us-gaap:EmployeeRelatedLiabilitiesCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:EmployeeRelatedLiabilitiesCurrent
27 us-gaap:AccruedIncomeTaxesCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:AccruedIncomeTaxesCurrent
28 us-gaap:DeferredRevenueCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredRevenueCurrent
29 us-gaap:DepositsReceivedForSecuritiesLoanedAtCarryingValue (terseLabel)Concept (Monetary)instantcreditus-gaap:DepositsReceivedForSecuritiesLoanedAtCarryingValue
30 us-gaap:OtherLiabilitiesCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:OtherLiabilitiesCurrent
31 us-gaap:LiabilitiesCurrent (totalLabel)Concept (Monetary)instantcreditus-gaap:LiabilitiesCurrent
32 us-gaap:LongTermDebtNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtNoncurrent
33 us-gaap:DeferredRevenueNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredRevenueNoncurrent
34 us-gaap:DeferredTaxLiabilitiesNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredTaxLiabilitiesNoncurrent
35 us-gaap:OtherLiabilitiesNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:OtherLiabilitiesNoncurrent
36 us-gaap:Liabilities (totalLabel)Concept (Monetary)instantcreditus-gaap:Liabilities
37 us-gaap:CommitmentsAndContingencies (terseLabel)Concept (Monetary)instantcreditus-gaap:CommitmentsAndContingencies
38 us-gaap:StockholdersEquityAbstract (terseLabel)Abstractdurationus-gaap:StockholdersEquityAbstract
39 us-gaap:CommonStocksIncludingAdditionalPaidInCapital (terseLabel)Concept (Monetary)instantcreditus-gaap:CommonStocksIncludingAdditionalPaidInCapital
40 us-gaap:RetainedEarningsAccumulatedDeficit (terseLabel)Concept (Monetary)instantcreditus-gaap:RetainedEarningsAccumulatedDeficit
41 us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax (terseLabel)Concept (Monetary)instantcreditus-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax
42 us-gaap:StockholdersEquity (totalLabel)Concept (Monetary)instantcreditus-gaap:StockholdersEquity
43 us-gaap:LiabilitiesAndStockholdersEquity (totalLabel)Concept (Monetary)instantcreditus-gaap:LiabilitiesAndStockholdersEquity

Model Structure
Network
100050 - Statement - BALANCE SHEETS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETSParenthetical)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1us-gaap:StatementOfFinancialPositionAbstract (label)Abstractdurationus-gaap:StatementOfFinancialPositionAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:SecuritiesLoaned (terseLabel)Concept (Monetary)instantcreditus-gaap:SecuritiesLoaned
7 us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:AllowanceForDoubtfulAccountsReceivableCurrent
8 us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment (terseLabel)Concept (Monetary)instantcreditus-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment
9 us-gaap:CommonStockSharesAuthorized (terseLabel)Concept (Shares)instantus-gaap:CommonStockSharesAuthorized
10 us-gaap:CommonStockSharesOutstanding (terseLabel)Concept (Shares)instantus-gaap:CommonStockSharesOutstanding

Model Structure
Network
100060 - Statement - CASH FLOWS STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Cash Flows [Abstract]Abstractdurationus-gaap:StatementOfCashFlowsAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract (terseLabel)Abstractdurationus-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract
7 us-gaap:NetIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:NetIncomeLoss
8 us-gaap:AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract (terseLabel)Abstractdurationus-gaap:AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract
9 us-gaap:AssetImpairmentCharges (terseLabel)Concept (Monetary)durationdebitus-gaap:AssetImpairmentCharges
10 msft:DepreciationAmortizationAndOther (terseLabel)Concept (Monetary)durationdebitmsft:DepreciationAmortizationAndOther
11 us-gaap:ShareBasedCompensation (terseLabel)Concept (Monetary)durationdebitus-gaap:ShareBasedCompensation
12 msft:GainLossOnInvestmentsAndDerivativeInstruments (negatedLabel)Concept (Monetary)durationcreditmsft:GainLossOnInvestmentsAndDerivativeInstruments
13 us-gaap:DeferredIncomeTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:DeferredIncomeTaxExpenseBenefit
14 us-gaap:IncreaseDecreaseInDeferredRevenue (terseLabel)Concept (Monetary)durationdebitus-gaap:IncreaseDecreaseInDeferredRevenue
15 us-gaap:RecognitionOfDeferredRevenue (negatedLabel)Concept (Monetary)durationcreditus-gaap:RecognitionOfDeferredRevenue
16 us-gaap:IncreaseDecreaseInOperatingCapitalAbstract (terseLabel)Abstractdurationus-gaap:IncreaseDecreaseInOperatingCapitalAbstract
17 us-gaap:IncreaseDecreaseInAccountsReceivable (negatedLabel)Concept (Monetary)durationcreditus-gaap:IncreaseDecreaseInAccountsReceivable
18 us-gaap:IncreaseDecreaseInInventories (negatedLabel)Concept (Monetary)durationcreditus-gaap:IncreaseDecreaseInInventories
19 us-gaap:IncreaseDecreaseInOtherCurrentAssets (negatedLabel)Concept (Monetary)durationcreditus-gaap:IncreaseDecreaseInOtherCurrentAssets
20 us-gaap:IncreaseDecreaseInOtherNoncurrentAssets (negatedLabel)Concept (Monetary)durationcreditus-gaap:IncreaseDecreaseInOtherNoncurrentAssets
21 us-gaap:IncreaseDecreaseInAccountsPayable (terseLabel)Concept (Monetary)durationdebitus-gaap:IncreaseDecreaseInAccountsPayable
22 us-gaap:IncreaseDecreaseInOtherCurrentLiabilities (terseLabel)Concept (Monetary)durationdebitus-gaap:IncreaseDecreaseInOtherCurrentLiabilities
23 us-gaap:IncreaseDecreaseInOtherNoncurrentLiabilities (terseLabel)Concept (Monetary)durationdebitus-gaap:IncreaseDecreaseInOtherNoncurrentLiabilities
24 us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations (totalLabel)Concept (Monetary)durationus-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations
25 us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract (terseLabel)Abstractdurationus-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract
26 us-gaap:ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess (terseLabel)Concept (Monetary)durationdebitus-gaap:ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess
27 us-gaap:ProceedsFromDebtMaturingInMoreThanThreeMonths (terseLabel)Concept (Monetary)durationdebitus-gaap:ProceedsFromDebtMaturingInMoreThanThreeMonths
28 us-gaap:RepaymentsOfDebtMaturingInMoreThanThreeMonths (negatedLabel)Concept (Monetary)durationcreditus-gaap:RepaymentsOfDebtMaturingInMoreThanThreeMonths
29 us-gaap:ProceedsFromIssuanceOfCommonStock (terseLabel)Concept (Monetary)durationdebitus-gaap:ProceedsFromIssuanceOfCommonStock
30 us-gaap:PaymentsForRepurchaseOfCommonStock (negatedLabel)Concept (Monetary)durationcreditus-gaap:PaymentsForRepurchaseOfCommonStock
31 us-gaap:PaymentsOfDividendsCommonStock (negatedLabel)Concept (Monetary)durationcreditus-gaap:PaymentsOfDividendsCommonStock
32 us-gaap:ProceedsFromPaymentsForOtherFinancingActivities (terseLabel)Concept (Monetary)durationdebitus-gaap:ProceedsFromPaymentsForOtherFinancingActivities
33 us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations (totalLabel)Concept (Monetary)durationdebitus-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations
34 us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract (terseLabel)Abstractdurationus-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract
35 us-gaap:PaymentsToAcquirePropertyPlantAndEquipment (negatedLabel)Concept (Monetary)durationcreditus-gaap:PaymentsToAcquirePropertyPlantAndEquipment
36 msft:AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets (negatedLabel)Concept (Monetary)durationcreditmsft:AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets
37 us-gaap:PaymentsToAcquireInvestments (negatedLabel)Concept (Monetary)durationcreditus-gaap:PaymentsToAcquireInvestments
38 us-gaap:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities (terseLabel)Concept (Monetary)durationdebitus-gaap:ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities
39 us-gaap:ProceedsFromSaleOfAvailableForSaleSecurities (terseLabel)Concept (Monetary)durationdebitus-gaap:ProceedsFromSaleOfAvailableForSaleSecurities
40 us-gaap:IncreaseDecreaseInCollateralHeldUnderSecuritiesLending (negatedLabel)Concept (Monetary)durationcreditus-gaap:IncreaseDecreaseInCollateralHeldUnderSecuritiesLending
41 us-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations (totalLabel)Concept (Monetary)durationdebitus-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations
42 us-gaap:EffectOfExchangeRateOnCashAndCashEquivalents (terseLabel)Concept (Monetary)durationdebitus-gaap:EffectOfExchangeRateOnCashAndCashEquivalents
43 us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease (totalLabel)Concept (Monetary)durationdebitus-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease
44 us-gaap:CashAndCashEquivalentsAtCarryingValue (periodStartLabel)Concept (Monetary)instantdebitus-gaap:CashAndCashEquivalentsAtCarryingValue
45 Cash and cash equivalents, end of periodConcept (Monetary)instantdebitus-gaap:CashAndCashEquivalentsAtCarryingValue

Model Structure
Network
100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementSTOCKHOLDERSEQUITYSTATEMENTS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Stockholders Equity [Abstract]Abstractdurationus-gaap:StatementOfStockholdersEquityAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementEquityComponentsAxis (terseLabel)Axisdurationus-gaap:StatementEquityComponentsAxis
6 us-gaap:EquityComponentDomain (terseLabel)Memberdurationus-gaap:EquityComponentDomain
7 us-gaap:CommonStockIncludingAdditionalPaidInCapitalMember (terseLabel)Memberdurationus-gaap:CommonStockIncludingAdditionalPaidInCapitalMember
8 us-gaap:RetainedEarningsMember (terseLabel)Memberdurationus-gaap:RetainedEarningsMember
9 us-gaap:AccumulatedOtherComprehensiveIncomeMember (terseLabel)Memberdurationus-gaap:AccumulatedOtherComprehensiveIncomeMember
10 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
11 us-gaap:StockholdersEquity (periodStartLabel)Concept (Monetary)instantcreditus-gaap:StockholdersEquity
12 us-gaap:StockIssuedDuringPeriodValueNewIssues (terseLabel)Concept (Monetary)durationcreditus-gaap:StockIssuedDuringPeriodValueNewIssues
13 us-gaap:NetIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:NetIncomeLoss
14 us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (verboseLabel)Concept (Monetary)durationcreditus-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
15 us-gaap:DividendsCommonStockCash (negatedLabel)Concept (Monetary)durationdebitus-gaap:DividendsCommonStockCash
16 us-gaap:StockRepurchasedDuringPeriodValue (negatedLabel)Concept (Monetary)durationdebitus-gaap:StockRepurchasedDuringPeriodValue
17 us-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue (terseLabel)Concept (Monetary)durationcreditus-gaap:AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue
18 us-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet (terseLabel)Concept (Monetary)durationcreditus-gaap:AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet
19 us-gaap:StockholdersEquityOther (negatedLabel)Concept (Monetary)durationdebitus-gaap:StockholdersEquityOther
20 us-gaap:StockholdersEquity (periodEndLabel)Concept (Monetary)instantcreditus-gaap:StockholdersEquity

Model Structure
Network
100080 - Disclosure - ACCOUNTING POLICIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIES)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Accounting Policies [Abstract]Abstractdurationus-gaap:AccountingPoliciesAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:SignificantAccountingPoliciesTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:SignificantAccountingPoliciesTextBlock

Model Structure
Network
100090 - Disclosure - EARNINGS PER SHARE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARE)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1us-gaap:EarningsPerShareAbstract (label)Abstractdurationus-gaap:EarningsPerShareAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:EarningsPerShareTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:EarningsPerShareTextBlock

Model Structure
Network
100100 - Disclosure - OTHER INCOME (EXPENSE), NET
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENET)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Other Income And Expenses [Abstract]Abstractdurationus-gaap:OtherIncomeAndExpensesAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:OtherNonoperatingIncomeAndExpenseTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:OtherNonoperatingIncomeAndExpenseTextBlock

Model Structure
Network
100110 - Disclosure - INVESTMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Cash And Cash Equivalents [Abstract]Abstractdurationus-gaap:CashAndCashEquivalentsAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:InvestmentsInDebtAndEquityInstrumentsCashAndCashEquivalentsUnrealizedAndRealizedGainsLossesTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:InvestmentsInDebtAndEquityInstrumentsCashAndCashEquivalentsUnrealizedAndRealizedGainsLossesTextBlock

Model Structure
Network
100120 - Disclosure - DERIVATIVES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVES)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock

Model Structure
Network
100130 - Disclosure - FAIR VALUE MEASUREMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Fair Value Disclosures [Abstract]Abstractdurationus-gaap:FairValueDisclosuresAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:FairValueDisclosuresTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:FairValueDisclosuresTextBlock

Model Structure
Network
100140 - Disclosure - INVENTORIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIES)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Inventory Disclosure [Abstract]Abstractdurationus-gaap:InventoryDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:InventoryDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:InventoryDisclosureTextBlock

Model Structure
Network
100150 - Disclosure - PROPERTY AND EQUIPMENT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENT)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Property Plant And Equipment [Abstract]Abstractdurationus-gaap:PropertyPlantAndEquipmentAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:PropertyPlantAndEquipmentDisclosureTextBlock

Model Structure
Network
100160 - Disclosure - BUSINESS COMBINATIONS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:MergersAcquisitionsAndDispositionsDisclosuresTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:MergersAcquisitionsAndDispositionsDisclosuresTextBlock

Model Structure
Network
100170 - Disclosure - GOODWILL
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILL)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:GoodwillDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:GoodwillDisclosureTextBlock

Model Structure
Network
100180 - Disclosure - INTANGIBLE ASSETS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:IntangibleAssetsDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:IntangibleAssetsDisclosureTextBlock

Model Structure
Network
100190 - Disclosure - DEBT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBT)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Debt Disclosure [Abstract]Abstractdurationus-gaap:DebtDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:DebtDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:DebtDisclosureTextBlock

Model Structure
Network
100200 - Disclosure - INCOME TAXES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXES)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:IncomeTaxDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:IncomeTaxDisclosureTextBlock

Model Structure
Network
100210 - Disclosure - RESTRUCTURING CHARGES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGES)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Restructuring And Related Activities [Abstract]Abstractdurationus-gaap:RestructuringAndRelatedActivitiesAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:RestructuringAndRelatedActivitiesDisclosureTextBlock

Model Structure
Network
100220 - Disclosure - UNEARNED REVENUE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUE)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Deferred Revenue Disclosure [Abstract]Abstractdurationus-gaap:DeferredRevenueDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:DeferredRevenueDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:DeferredRevenueDisclosureTextBlock

Model Structure
Network
100230 - Disclosure - COMMITMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:CommitmentsDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:CommitmentsDisclosureTextBlock

Model Structure
Network
100240 - Disclosure - CONTINGENCIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCONTINGENCIES)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:LegalMattersAndContingenciesTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:LegalMattersAndContingenciesTextBlock

Model Structure
Network
100250 - Disclosure - STOCKHOLDERS' EQUITY
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITY)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Equity [Abstract]Abstractdurationus-gaap:EquityAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:StockholdersEquityNoteDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:StockholdersEquityNoteDisclosureTextBlock

Model Structure
Network
100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOME)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Equity [Abstract]Abstractdurationus-gaap:EquityAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ComprehensiveIncomeNoteTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ComprehensiveIncomeNoteTextBlock

Model Structure
Network
100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANS)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Postemployment Benefits [Abstract]Abstractdurationus-gaap:PostemploymentBenefitsAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:CompensationAndEmployeeBenefitPlansTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:CompensationAndEmployeeBenefitPlansTextBlock

Model Structure
Network
100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATA)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:SegmentReportingDisclosureTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:SegmentReportingDisclosureTextBlock

Model Structure
Network
100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITED)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Quarterly Financial Information Disclosure [Abstract]Abstractdurationus-gaap:QuarterlyFinancialInformationDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:QuarterlyFinancialInformationTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:QuarterlyFinancialInformationTextBlock

Model Structure
Network
100300 - Disclosure - ACCOUNTING POLICIES (Policies)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESPolicies)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Accounting Policies [Abstract]Abstractdurationus-gaap:AccountingPoliciesAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:BasisOfAccountingPolicyPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:BasisOfAccountingPolicyPolicyTextBlock
7 us-gaap:ConsolidationPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ConsolidationPolicyTextBlock
8 us-gaap:UseOfEstimates (terseLabel)Concept (TextBlock)durationus-gaap:UseOfEstimates
9 us-gaap:ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock
10 msft:ProductRevenueAndServiceAndOtherRevenuePolicyTextBlock (terseLabel)Concept (TextBlock)durationmsft:ProductRevenueAndServiceAndOtherRevenuePolicyTextBlock
11 us-gaap:RevenueRecognitionPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:RevenueRecognitionPolicyTextBlock
12 us-gaap:CostOfSalesPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:CostOfSalesPolicyTextBlock
13 us-gaap:StandardProductWarrantyPolicy (terseLabel)Concept (TextBlock)durationus-gaap:StandardProductWarrantyPolicy
14 us-gaap:ResearchDevelopmentAndComputerSoftwarePolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ResearchDevelopmentAndComputerSoftwarePolicyTextBlock
15 msft:SellingAndMarketingPolicyTextBlock (terseLabel)Concept (TextBlock)durationmsft:SellingAndMarketingPolicyTextBlock
16 us-gaap:ShareBasedCompensationOptionAndIncentivePlansPolicy (terseLabel)Concept (TextBlock)durationus-gaap:ShareBasedCompensationOptionAndIncentivePlansPolicy
17 us-gaap:IncomeTaxPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:IncomeTaxPolicyTextBlock
18 us-gaap:FairValueOfFinancialInstrumentsPolicy (terseLabel)Concept (TextBlock)durationus-gaap:FairValueOfFinancialInstrumentsPolicy
19 us-gaap:InvestmentPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:InvestmentPolicyTextBlock
20 us-gaap:DerivativesPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:DerivativesPolicyTextBlock
21 us-gaap:TradeAndOtherAccountsReceivablePolicy (terseLabel)Concept (TextBlock)durationus-gaap:TradeAndOtherAccountsReceivablePolicy
22 us-gaap:InventoryPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:InventoryPolicyTextBlock
23 us-gaap:PropertyPlantAndEquipmentPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:PropertyPlantAndEquipmentPolicyTextBlock
24 us-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy (terseLabel)Concept (TextBlock)durationus-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy
25 us-gaap:IntangibleAssetsFiniteLivedPolicy (terseLabel)Concept (TextBlock)durationus-gaap:IntangibleAssetsFiniteLivedPolicy
26 us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock
27 us-gaap:EarningsPerSharePolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:EarningsPerSharePolicyTextBlock
28 us-gaap:SegmentReportingPolicyPolicyTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:SegmentReportingPolicyPolicyTextBlock

Model Structure
Network
100310 - Disclosure - ACCOUNTING POLICIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Accounting Policies [Abstract]Abstractdurationus-gaap:AccountingPoliciesAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfCreditLossesForFinancingReceivablesCurrentTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfCreditLossesForFinancingReceivablesCurrentTableTextBlock
7 us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock

Model Structure
Network
100320 - Disclosure - EARNINGS PER SHARE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARETables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1us-gaap:EarningsPerShareAbstract (label)Abstractdurationus-gaap:EarningsPerShareAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock

Model Structure
Network
100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENETTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Other Income And Expenses [Abstract]Abstractdurationus-gaap:OtherIncomeAndExpensesAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfOtherNonoperatingIncomeExpenseTableTextBlock
7 us-gaap:RealizedGainLossOnInvestmentsTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:RealizedGainLossOnInvestmentsTableTextBlock

Model Structure
Network
100340 - Disclosure - INVESTMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTSTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Cash And Cash Equivalents [Abstract]Abstractdurationus-gaap:CashAndCashEquivalentsAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 msft:ScheduleOfCashCashEquivalentsAndInvestmentsTableTextBlock (terseLabel)Concept (TextBlock)durationmsft:ScheduleOfCashCashEquivalentsAndInvestmentsTableTextBlock
7 us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock
8 us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock

Model Structure
Network
100350 - Disclosure - DERIVATIVES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVESTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis
6 us-gaap:HedgingRelationshipDomain (terseLabel)Memberdurationus-gaap:HedgingRelationshipDomain
7 us-gaap:FairValueHedgingMember (terseLabel)Memberdurationus-gaap:FairValueHedgingMember
8 us-gaap:CashFlowHedgingMember (terseLabel)Memberdurationus-gaap:CashFlowHedgingMember
9 us-gaap:HedgingDesignationAxis (terseLabel)Axisdurationus-gaap:HedgingDesignationAxis
10 us-gaap:HedgingDesignationDomain (terseLabel)Memberdurationus-gaap:HedgingDesignationDomain
11 us-gaap:NondesignatedMember (terseLabel)Memberdurationus-gaap:NondesignatedMember
12 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
13 us-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock
14 us-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock

Model Structure
Network
100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Fair Value Disclosures [Abstract]Abstractdurationus-gaap:FairValueDisclosuresAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock
7 msft:ReconciliationOfAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationTableTextBlock (terseLabel)Concept (TextBlock)durationmsft:ReconciliationOfAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationTableTextBlock

Model Structure
Network
100370 - Disclosure - INVENTORIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIESTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Inventory Disclosure [Abstract]Abstractdurationus-gaap:InventoryDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfInventoryCurrentTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfInventoryCurrentTableTextBlock

Model Structure
Network
100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENTTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Property Plant And Equipment [Abstract]Abstractdurationus-gaap:PropertyPlantAndEquipmentAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:PropertyPlantAndEquipmentTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:PropertyPlantAndEquipmentTextBlock

Model Structure
Network
100390 - Disclosure - BUSINESS COMBINATIONS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONSTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BusinessAcquisitionAxis (terseLabel)Axisdurationus-gaap:BusinessAcquisitionAxis
6 us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel)Memberdurationus-gaap:BusinessAcquisitionAcquireeDomain
7 msft:LinkedInCorporationMember (terseLabel)Memberdurationmsft:LinkedInCorporationMember
8 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
9 us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock
10 us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock
11 msft:RevenueAndOperatingLossAttributableToAcquireeSinceAcquisitionDateTableTextBlock (terseLabel)Concept (TextBlock)durationmsft:RevenueAndOperatingLossAttributableToAcquireeSinceAcquisitionDateTableTextBlock
12 us-gaap:BusinessAcquisitionProFormaInformationTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:BusinessAcquisitionProFormaInformationTextBlock

Model Structure
Network
100400 - Disclosure - GOODWILL (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILLTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfGoodwillTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfGoodwillTextBlock

Model Structure
Network
100410 - Disclosure - INTANGIBLE ASSETS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETSTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock
7 us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetsByMajorClassTextBlock
8 us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock

Model Structure
Network
100420 - Disclosure - DEBT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBTTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Debt Disclosure [Abstract]Abstractdurationus-gaap:DebtDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfDebtInstrumentsTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfDebtInstrumentsTextBlock
7 us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock

Model Structure
Network
100430 - Disclosure - INCOME TAXES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXESTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock
7 us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock
8 us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock
9 us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock
10 us-gaap:SummaryOfIncomeTaxContingenciesTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:SummaryOfIncomeTaxContingenciesTextBlock

Model Structure
Network
100440 - Disclosure - RESTRUCTURING CHARGES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGESTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Restructuring And Related Activities [Abstract]Abstractdurationus-gaap:RestructuringAndRelatedActivitiesAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfRestructuringReserveByTypeOfCostTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfRestructuringReserveByTypeOfCostTextBlock

Model Structure
Network
100450 - Disclosure - UNEARNED REVENUE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUETables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Deferred Revenue Disclosure [Abstract]Abstractdurationus-gaap:DeferredRevenueDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 msft:DeferredRevenueBySegmentTextBlock (terseLabel)Concept (TextBlock)durationmsft:DeferredRevenueBySegmentTextBlock

Model Structure
Network
100460 - Disclosure - COMMITMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTSTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock
7 us-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfFutureMinimumLeasePaymentsForCapitalLeasesTableTextBlock

Model Structure
Network
100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Equity [Abstract]Abstractdurationus-gaap:EquityAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfCommonStockOutstandingRollForwardTableTextBlock
7 msft:ShareRepurchaseProgramDisclosureTableTextBlock (terseLabel)Concept (TextBlock)durationmsft:ShareRepurchaseProgramDisclosureTableTextBlock
8 us-gaap:DividendsDeclaredTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:DividendsDeclaredTableTextBlock

Model Structure
Network
100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOMETables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Equity [Abstract]Abstractdurationus-gaap:EquityAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock

Model Structure
Network
100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANSTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Postemployment Benefits [Abstract]Abstractdurationus-gaap:PostemploymentBenefitsAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock
7 msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTableTextBlock (terseLabel)Concept (TextBlock)durationmsft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTableTextBlock
8 us-gaap:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTextBlock
9 us-gaap:ScheduleOfShareBasedCompensationEmployeeStockPurchasePlanActivityTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfShareBasedCompensationEmployeeStockPurchasePlanActivityTableTextBlock

Model Structure
Network
100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATATables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock
7 us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTextBlock
8 us-gaap:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock
9 us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock
10 us-gaap:ScheduleOfEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfEntityWideDisclosureOnGeographicAreasLongLivedAssetsInIndividualForeignCountriesByCountryTextBlock

Model Structure
Network
100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITEDTables)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Quarterly Financial Information Disclosure [Abstract]Abstractdurationus-gaap:QuarterlyFinancialInformationDisclosureAbstract
2 us-gaap:StatementTable (terseLabel)Tabledurationus-gaap:StatementTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementLineItems (terseLabel)LineItemsdurationus-gaap:StatementLineItems
6 us-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock (terseLabel)Concept (TextBlock)durationus-gaap:ScheduleOfQuarterlyFinancialInformationTableTextBlock

Model Structure
Network
100520 - Disclosure - Accounting Policies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAccountingPoliciesAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Accounting Policies [Abstract]Abstractdurationus-gaap:AccountingPoliciesAbstract
2 msft:SignificantAccountingPoliciesTable (terseLabel)Tabledurationmsft:SignificantAccountingPoliciesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel)Axisdurationus-gaap:DeferredRevenueArrangementTypeAxis
6 us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel)Memberdurationus-gaap:DeferredRevenueArrangementTypeDomain
7 msft:WindowsTenDeferralMember (terseLabel)Memberdurationmsft:WindowsTenDeferralMember
8 us-gaap:RangeAxis (terseLabel)Axisdurationus-gaap:RangeAxis
9 us-gaap:RangeMember (terseLabel)Memberdurationus-gaap:RangeMember
10 us-gaap:MinimumMember (terseLabel)Memberdurationus-gaap:MinimumMember
11 us-gaap:MaximumMember (terseLabel)Memberdurationus-gaap:MaximumMember
12 us-gaap:PropertyPlantAndEquipmentByTypeAxis (terseLabel)Axisdurationus-gaap:PropertyPlantAndEquipmentByTypeAxis
13 us-gaap:PropertyPlantAndEquipmentTypeDomain (terseLabel)Memberdurationus-gaap:PropertyPlantAndEquipmentTypeDomain
14 us-gaap:SoftwareAndSoftwareDevelopmentCostsMember (terseLabel)Memberdurationus-gaap:SoftwareAndSoftwareDevelopmentCostsMember
15 us-gaap:ComputerEquipmentMember (terseLabel)Memberdurationus-gaap:ComputerEquipmentMember
16 us-gaap:BuildingAndBuildingImprovementsMember (terseLabel)Memberdurationus-gaap:BuildingAndBuildingImprovementsMember
17 us-gaap:LeaseholdImprovementsMember (terseLabel)Memberdurationus-gaap:LeaseholdImprovementsMember
18 us-gaap:FurnitureAndFixturesMember (terseLabel)Memberdurationus-gaap:FurnitureAndFixturesMember
19 us-gaap:AdjustmentsForNewAccountingPronouncementsAxis (terseLabel)Axisdurationus-gaap:AdjustmentsForNewAccountingPronouncementsAxis
20 us-gaap:TypeOfAdoptionMember (terseLabel)Memberdurationus-gaap:TypeOfAdoptionMember
21 us-gaap:AccountingStandardsUpdate201602Member (terseLabel)Memberdurationus-gaap:AccountingStandardsUpdate201602Member
22 us-gaap:AccountingStandardsUpdate201409Member (terseLabel)Memberdurationus-gaap:AccountingStandardsUpdate201409Member
23 us-gaap:StatementScenarioAxis (terseLabel)Axisdurationus-gaap:StatementScenarioAxis
24 us-gaap:ScenarioUnspecifiedDomain (terseLabel)Memberdurationus-gaap:ScenarioUnspecifiedDomain
25 us-gaap:ScenarioPlanMember (terseLabel)Memberdurationus-gaap:ScenarioPlanMember
26 msft:SignificantAccountingPoliciesLineItems (terseLabel)LineItemsdurationmsft:SignificantAccountingPoliciesLineItems
27 msft:RevenueRecognitionPeriod (terseLabel)Concept (Duration)durationmsft:RevenueRecognitionPeriod
28 us-gaap:AdvertisingExpense (terseLabel)Concept (Monetary)durationdebitus-gaap:AdvertisingExpense
29 us-gaap:PropertyPlantAndEquipmentUsefulLife (terseLabel)Concept (Duration)durationus-gaap:PropertyPlantAndEquipmentUsefulLife
30 us-gaap:FiniteLivedIntangibleAssetUsefulLife (terseLabel)Concept (Duration)durationus-gaap:FiniteLivedIntangibleAssetUsefulLife
31 msft:OperatingLeaseRightOfUseAssets (terseLabel)Concept (Monetary)instantdebitmsft:OperatingLeaseRightOfUseAssets
32 msft:OperatingLeaseLiabilities (terseLabel)Concept (Monetary)instantcreditmsft:OperatingLeaseLiabilities
33 us-gaap:SalesRevenueNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet
34 us-gaap:IncomeTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:IncomeTaxExpenseBenefit
35 msft:AccountsReceivableNetAndOtherAssets (terseLabel)Concept (Monetary)instantdebitmsft:AccountsReceivableNetAndOtherAssets
36 us-gaap:DeferredRevenue (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredRevenue
37 us-gaap:DeferredTaxLiabilitiesNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredTaxLiabilitiesNoncurrent

Model Structure
Network
100530 - Disclosure - Allowance for Doubtful Accounts (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAllowanceForDoubtfulAccountsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Organization Consolidation And Presentation Of Financial Statements [Abstract]Abstractdurationus-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
2 us-gaap:ValuationAndQualifyingAccountsDisclosureTable (terseLabel)Tabledurationus-gaap:ValuationAndQualifyingAccountsDisclosureTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ValuationAllowancesAndReservesTypeAxis (terseLabel)Axisdurationus-gaap:ValuationAllowancesAndReservesTypeAxis
6 us-gaap:ValuationAllowancesAndReservesDomain (terseLabel)Memberdurationus-gaap:ValuationAllowancesAndReservesDomain
7 us-gaap:AllowanceForDoubtfulAccountsMember (terseLabel)Memberdurationus-gaap:AllowanceForDoubtfulAccountsMember
8 us-gaap:ValuationAndQualifyingAccountsDisclosureLineItems (terseLabel)LineItemsdurationus-gaap:ValuationAndQualifyingAccountsDisclosureLineItems
9 us-gaap:ValuationAllowancesAndReservesBalance (periodStartLabel)Concept (Monetary)instantcreditus-gaap:ValuationAllowancesAndReservesBalance
10 msft:ValuationAllowancesAndReservesChargedToCostsAndOther (terseLabel)Concept (Monetary)durationcreditmsft:ValuationAllowancesAndReservesChargedToCostsAndOther
11 us-gaap:ValuationAllowancesAndReservesDeductions (negatedLabel)Concept (Monetary)durationdebitus-gaap:ValuationAllowancesAndReservesDeductions
12 Balance, end of periodConcept (Monetary)instantcreditus-gaap:ValuationAllowancesAndReservesBalance

Model Structure
Network
100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureExpectedImpactsOfAdoptionOfStandardsRelatedToRevenueRecognitionAndLeasesToReportedResultsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Accounting Policies [Abstract]Abstractdurationus-gaap:AccountingPoliciesAbstract
2 us-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleTable (terseLabel)Tabledurationus-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:AdjustmentsForNewAccountingPronouncementsAxis (terseLabel)Axisdurationus-gaap:AdjustmentsForNewAccountingPronouncementsAxis
6 us-gaap:TypeOfAdoptionMember (terseLabel)Memberdurationus-gaap:TypeOfAdoptionMember
7 New Revenue Standard AdjustmentMemberdurationus-gaap:AccountingStandardsUpdate201409Member
8 New Lease Standard AdjustmentMemberdurationus-gaap:AccountingStandardsUpdate201602Member
9 us-gaap:StatementScenarioAxis (terseLabel)Axisdurationus-gaap:StatementScenarioAxis
10 us-gaap:ScenarioUnspecifiedDomain (terseLabel)Memberdurationus-gaap:ScenarioUnspecifiedDomain
11 us-gaap:ScenarioPlanMember (terseLabel)Memberdurationus-gaap:ScenarioPlanMember
12 us-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems (terseLabel)LineItemsdurationus-gaap:NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
13 Income statements:Abstractdurationus-gaap:IncomeStatementAbstract
14 us-gaap:SalesRevenueNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet
15 us-gaap:IncomeTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:IncomeTaxExpenseBenefit
16 us-gaap:NetIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:NetIncomeLoss
17 us-gaap:EarningsPerShareDiluted (terseLabel)Concept (Per-Share)durationus-gaap:EarningsPerShareDiluted
18 Balance sheets:Abstractdurationus-gaap:StatementOfFinancialPositionAbstract
19 Accounts receivable, netConcept (Monetary)instantdebitus-gaap:AccountsReceivableNetCurrent
20 us-gaap:OperatingLeaseRightOfUseAsset (terseLabel)Concept (Monetary)instantdebitus-gaap:OperatingLeaseRightOfUseAsset
21 us-gaap:OtherAssets (terseLabel)Concept (Monetary)instantdebitus-gaap:OtherAssets
22 us-gaap:DeferredRevenue (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredRevenue
23 us-gaap:DeferredTaxLiabilitiesNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredTaxLiabilitiesNoncurrent
24 us-gaap:OperatingLeaseLiability (terseLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeaseLiability
25 us-gaap:OtherLiabilities (terseLabel)Concept (Monetary)instantcreditus-gaap:OtherLiabilities
26 Stockholders' equityConcept (Monetary)instantcreditus-gaap:StockholdersEquity

Model Structure
Network
100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBasicAndDilutedEarningsPerShareDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Earnings Per Share Basic And Diluted [Abstract]Abstractdurationus-gaap:EarningsPerShareBasicAndDilutedAbstract
2 msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassTable (terseLabel)Tabledurationmsft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassLineItems (terseLabel)LineItemsdurationmsft:ScheduleOfEarningsPerShareBasicAndDilutedByCommonClassLineItems
6 Net income available for common shareholders (A)Concept (Monetary)durationcreditus-gaap:NetIncomeLoss
7 Weighted average outstanding shares of common stock (B)Concept (Shares)durationus-gaap:WeightedAverageNumberOfSharesOutstandingBasic
8 us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements (terseLabel)Concept (Shares)durationus-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements
9 Common stock and common stock equivalents (C)Concept (Shares)durationus-gaap:WeightedAverageNumberOfDilutedSharesOutstanding
10 Earnings Per ShareAbstractdurationus-gaap:EarningsPerShareAbstract
11 us-gaap:EarningsPerShareBasic (verboseLabel)Concept (Per-Share)durationus-gaap:EarningsPerShareBasic
12 us-gaap:EarningsPerShareDiluted (verboseLabel)Concept (Per-Share)durationus-gaap:EarningsPerShareDiluted

Model Structure
Network
100560 - Disclosure - Components of Other Income (Expense), Net (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Other Income And Expenses [Abstract]Abstractdurationus-gaap:OtherIncomeAndExpensesAbstract
2 msft:OtherIncomeExpenseTable (terseLabel)Tabledurationmsft:OtherIncomeExpenseTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ComponentOfOtherIncomeNonoperatingLineItems (terseLabel)LineItemsdurationus-gaap:ComponentOfOtherIncomeNonoperatingLineItems
6 us-gaap:InvestmentIncomeNet (terseLabel)Concept (Monetary)durationcreditus-gaap:InvestmentIncomeNet
7 us-gaap:InterestExpense (negatedLabel)Concept (Monetary)durationdebitus-gaap:InterestExpense
8 us-gaap:GainLossOnInvestments (terseLabel)Concept (Monetary)durationcreditus-gaap:GainLossOnInvestments
9 us-gaap:GainLossOnDerivativeInstrumentsNetPretax (terseLabel)Concept (Monetary)durationcreditus-gaap:GainLossOnDerivativeInstrumentsNetPretax
10 us-gaap:ForeignCurrencyTransactionGainLossBeforeTax (terseLabel)Concept (Monetary)durationcreditus-gaap:ForeignCurrencyTransactionGainLossBeforeTax
11 us-gaap:OtherNonoperatingIncomeExpense (terseLabel)Concept (Monetary)durationcreditus-gaap:OtherNonoperatingIncomeExpense
12 TotalConcept (Monetary)durationcreditus-gaap:NonoperatingIncomeExpense

Model Structure
Network
100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Income And Comprehensive Income [Abstract]Abstractdurationus-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract
2 us-gaap:ScheduleOfGainLossOnInvestmentsTable (terseLabel)Tabledurationus-gaap:ScheduleOfGainLossOnInvestmentsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems (terseLabel)LineItemsdurationus-gaap:ScheduleOfGainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostIncomeStatementReportedAmountsSummaryLineItems
6 us-gaap:MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount (negatedLabel)Concept (Monetary)durationdebitus-gaap:MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount
7 us-gaap:AvailableForSaleSecuritiesGrossRealizedGains (terseLabel)Concept (Monetary)durationcreditus-gaap:AvailableForSaleSecuritiesGrossRealizedGains
8 us-gaap:AvailableForSaleSecuritiesGrossRealizedLosses (negatedLabel)Concept (Monetary)durationdebitus-gaap:AvailableForSaleSecuritiesGrossRealizedLosses
9 TotalConcept (Monetary)durationcreditus-gaap:GainLossOnInvestments

Model Structure
Network
100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Investments Debt And Equity Securities [Abstract]Abstractdurationus-gaap:InvestmentsDebtAndEquitySecuritiesAbstract
2 msft:CashCashEquivalentsAndInvestmentsTable (terseLabel)Tabledurationmsft:CashCashEquivalentsAndInvestmentsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:InvestmentTypeAxis (terseLabel)Axisdurationus-gaap:InvestmentTypeAxis
6 us-gaap:InvestmentTypeCategorizationMember (terseLabel)Memberdurationus-gaap:InvestmentTypeCategorizationMember
7 us-gaap:CashMember (terseLabel)Memberdurationus-gaap:CashMember
8 us-gaap:MoneyMarketFundsMember (terseLabel)Memberdurationus-gaap:MoneyMarketFundsMember
9 us-gaap:CommercialPaperMember (terseLabel)Memberdurationus-gaap:CommercialPaperMember
10 us-gaap:CertificatesOfDepositMember (terseLabel)Memberdurationus-gaap:CertificatesOfDepositMember
11 us-gaap:USGovernmentAgenciesDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:USGovernmentAgenciesDebtSecuritiesMember
12 us-gaap:ForeignGovernmentDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:ForeignGovernmentDebtSecuritiesMember
13 us-gaap:AssetBackedSecuritiesMember (terseLabel)Memberdurationus-gaap:AssetBackedSecuritiesMember
14 us-gaap:CorporateDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:CorporateDebtSecuritiesMember
15 us-gaap:USStatesAndPoliticalSubdivisionsMember (terseLabel)Memberdurationus-gaap:USStatesAndPoliticalSubdivisionsMember
16 us-gaap:EquitySecuritiesMember (terseLabel)Memberdurationus-gaap:EquitySecuritiesMember
17 msft:OtherSecurityInvestmentsMember (terseLabel)Memberdurationmsft:OtherSecurityInvestmentsMember
18 msft:CashCashEquivalentsAndInvestmentsLineItems (terseLabel)LineItemsdurationmsft:CashCashEquivalentsAndInvestmentsLineItems
19 us-gaap:AvailableForSaleSecuritiesAmortizedCost (totalLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesAmortizedCost
20 us-gaap:EquityMethodInvestmentAggregateCost (totalLabel)Concept (Monetary)instantdebitus-gaap:EquityMethodInvestmentAggregateCost
21 us-gaap:Cash (terseLabel)Concept (Monetary)instantdebitus-gaap:Cash
22 us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax (terseLabel)Concept (Monetary)instantcreditus-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
23 us-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax (negatedLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
24 us-gaap:AvailableForSaleSecurities (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecurities
25 us-gaap:EquityMethodInvestments (terseLabel)Concept (Monetary)instantdebitus-gaap:EquityMethodInvestments
26 us-gaap:CashAndCashEquivalentsAtCarryingValue (terseLabel)Concept (Monetary)instantdebitus-gaap:CashAndCashEquivalentsAtCarryingValue
27 Short-term InvestmentsConcept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesCurrent
28 Equity and Other InvestmentsConcept (Monetary)instantdebitus-gaap:LongTermInvestments

Model Structure
Network
100590 - Disclosure - Investments - Cost Method - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsCostMethodAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Investments Debt And Equity Securities [Abstract]Abstractdurationus-gaap:InvestmentsDebtAndEquitySecuritiesAbstract
2 us-gaap:ScheduleOfCostMethodInvestmentsTable (terseLabel)Tabledurationus-gaap:ScheduleOfCostMethodInvestmentsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:FairValueByMeasurementFrequencyAxis (terseLabel)Axisdurationus-gaap:FairValueByMeasurementFrequencyAxis
6 us-gaap:FairValueMeasurementFrequencyDomain (terseLabel)Memberdurationus-gaap:FairValueMeasurementFrequencyDomain
7 us-gaap:FairValueMeasurementsNonrecurringMember (terseLabel)Memberdurationus-gaap:FairValueMeasurementsNonrecurringMember
8 us-gaap:ScheduleOfCostMethodInvestmentsLineItems (terseLabel)LineItemsdurationus-gaap:ScheduleOfCostMethodInvestmentsLineItems
9 us-gaap:CostMethodInvestments (terseLabel)Concept (Monetary)instantdebitus-gaap:CostMethodInvestments

Model Structure
Network
100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsSecuredBorrowingsAndLoanedSecuritiesAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Investments Debt And Equity Securities [Abstract]Abstractdurationus-gaap:InvestmentsDebtAndEquitySecuritiesAbstract
2 invest:InvestmentTable (terseLabel)Tabledurationinvest:InvestmentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:InvestmentTypeAxis (terseLabel)Axisdurationus-gaap:InvestmentTypeAxis
6 us-gaap:InvestmentTypeCategorizationMember (terseLabel)Memberdurationus-gaap:InvestmentTypeCategorizationMember
7 U.S. Government and Agency SecuritiesMemberdurationus-gaap:USGovernmentAgenciesDebtSecuritiesMember
8 us-gaap:CashMember (terseLabel)Memberdurationus-gaap:CashMember
9 invest:InvestmentLineItems (terseLabel)LineItemsdurationinvest:InvestmentLineItems
10 us-gaap:SecuritiesReceivedAsCollateral (terseLabel)Concept (Monetary)instantdebitus-gaap:SecuritiesReceivedAsCollateral

Model Structure
Network
100610 - Disclosure - Unrealized Losses on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnrealizedLossesOnInvestmentsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Investments Debt And Equity Securities [Abstract]Abstractdurationus-gaap:InvestmentsDebtAndEquitySecuritiesAbstract
2 msft:InvestmentsUnrealizedLossPositionTable (terseLabel)Tabledurationmsft:InvestmentsUnrealizedLossPositionTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:MajorTypesOfDebtAndEquitySecuritiesAxis (terseLabel)Axisdurationus-gaap:MajorTypesOfDebtAndEquitySecuritiesAxis
6 us-gaap:MajorTypesOfDebtAndEquitySecuritiesDomain (terseLabel)Memberdurationus-gaap:MajorTypesOfDebtAndEquitySecuritiesDomain
7 us-gaap:USGovernmentAgenciesDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:USGovernmentAgenciesDebtSecuritiesMember
8 us-gaap:ForeignGovernmentDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:ForeignGovernmentDebtSecuritiesMember
9 us-gaap:AssetBackedSecuritiesMember (terseLabel)Memberdurationus-gaap:AssetBackedSecuritiesMember
10 us-gaap:CorporateDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:CorporateDebtSecuritiesMember
11 us-gaap:EquitySecuritiesMember (terseLabel)Memberdurationus-gaap:EquitySecuritiesMember
12 msft:InvestmentsUnrealizedLossPositionLineItems (terseLabel)LineItemsdurationmsft:InvestmentsUnrealizedLossPositionLineItems
13 us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
14 us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss (negatedLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
15 us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
16 us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss (negatedLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
17 us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue (totalLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue
18 us-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss (negatedTotalLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss

Model Structure
Network
100620 - Disclosure - Debt Investment Maturities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtInvestmentMaturitiesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Investments Debt And Equity Securities [Abstract]Abstractdurationus-gaap:InvestmentsDebtAndEquitySecuritiesAbstract
2 msft:InvestmentsClassifiedByContractualMaturityDateTable (terseLabel)Tabledurationmsft:InvestmentsClassifiedByContractualMaturityDateTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:InvestmentsClassifiedByContractualMaturityDateLineItems (terseLabel)LineItemsdurationmsft:InvestmentsClassifiedByContractualMaturityDateLineItems
6 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostBasisRollingMaturityAbstract (terseLabel)Abstractdurationus-gaap:AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostBasisRollingMaturityAbstract
7 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis
8 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis
9 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis
10 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis
11 us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis (totalLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis
12 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesFairValueRollingMaturityAbstract (terseLabel)Abstractdurationus-gaap:AvailableForSaleSecuritiesDebtMaturitiesFairValueRollingMaturityAbstract
13 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue
14 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue
15 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue
16 us-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue (terseLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue
17 us-gaap:AvailableForSaleSecuritiesDebtSecurities (totalLabel)Concept (Monetary)instantdebitus-gaap:AvailableForSaleSecuritiesDebtSecurities

Model Structure
Network
100630 - Disclosure - Derivatives - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDerivativesAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:DerivativeTable (terseLabel)Tabledurationus-gaap:DerivativeTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:PositionAxis (terseLabel)Axisdurationus-gaap:PositionAxis
6 us-gaap:PositionDomain (terseLabel)Memberdurationus-gaap:PositionDomain
7 us-gaap:ShortMember (terseLabel)Memberdurationus-gaap:ShortMember
8 us-gaap:LongMember (terseLabel)Memberdurationus-gaap:LongMember
9 us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis
10 us-gaap:HedgingRelationshipDomain (terseLabel)Memberdurationus-gaap:HedgingRelationshipDomain
11 us-gaap:CashFlowHedgingMember (terseLabel)Memberdurationus-gaap:CashFlowHedgingMember
12 us-gaap:FairValueHedgingMember (terseLabel)Memberdurationus-gaap:FairValueHedgingMember
13 us-gaap:DerivativeInstrumentRiskAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentRiskAxis
14 us-gaap:DerivativeContractTypeDomain (terseLabel)Memberdurationus-gaap:DerivativeContractTypeDomain
15 us-gaap:ForeignExchangeContractMember (terseLabel)Memberdurationus-gaap:ForeignExchangeContractMember
16 us-gaap:EquityContractMember (terseLabel)Memberdurationus-gaap:EquityContractMember
17 us-gaap:InterestRateContractMember (terseLabel)Memberdurationus-gaap:InterestRateContractMember
18 us-gaap:MortgageBackedSecuritiesMember (terseLabel)Memberdurationus-gaap:MortgageBackedSecuritiesMember
19 us-gaap:CreditRiskContractMember (terseLabel)Memberdurationus-gaap:CreditRiskContractMember
20 us-gaap:CommodityContractMember (terseLabel)Memberdurationus-gaap:CommodityContractMember
21 us-gaap:HedgingDesignationAxis (terseLabel)Axisdurationus-gaap:HedgingDesignationAxis
22 us-gaap:HedgingDesignationDomain (terseLabel)Memberdurationus-gaap:HedgingDesignationDomain
23 us-gaap:NondesignatedMember (terseLabel)Memberdurationus-gaap:NondesignatedMember
24 us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel)Memberdurationus-gaap:DesignatedAsHedgingInstrumentMember
25 us-gaap:LongtermDebtTypeAxis (terseLabel)Axisdurationus-gaap:LongtermDebtTypeAxis
26 us-gaap:LongtermDebtTypeDomain (terseLabel)Memberdurationus-gaap:LongtermDebtTypeDomain
27 us-gaap:UnsecuredDebtMember (terseLabel)Memberdurationus-gaap:UnsecuredDebtMember
28 us-gaap:DerivativeLineItems (terseLabel)LineItemsdurationus-gaap:DerivativeLineItems
29 us-gaap:MaximumLengthOfTimeForeignCurrencyCashFlowHedge (terseLabel)Concept (Duration)durationus-gaap:MaximumLengthOfTimeForeignCurrencyCashFlowHedge
30 invest:DerivativeNotionalAmount (terseLabel)Concept (Monetary)instantinvest:DerivativeNotionalAmount
31 msft:FinancialInstrumentCovenantMinimumLiquidityRequirement (terseLabel)Concept (Monetary)durationdebitmsft:FinancialInstrumentCovenantMinimumLiquidityRequirement
32 us-gaap:DebtInstrumentCreditRating (terseLabel)Concept (String)durationus-gaap:DebtInstrumentCreditRating
33 msft:FinancialInstrumentCovenantMinimumLiquidity (terseLabel)Concept (Monetary)instantdebitmsft:FinancialInstrumentCovenantMinimumLiquidity
34 us-gaap:ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months (terseLabel)Concept (Monetary)instantcreditus-gaap:ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months

Model Structure
Network
100640 - Disclosure - Fair Values of Derivative Instruments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable (terseLabel)Tabledurationus-gaap:FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:HedgingDesignationAxis (terseLabel)Axisdurationus-gaap:HedgingDesignationAxis
6 us-gaap:HedgingDesignationDomain (terseLabel)Memberdurationus-gaap:HedgingDesignationDomain
7 us-gaap:NondesignatedMember (terseLabel)Memberdurationus-gaap:NondesignatedMember
8 us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel)Memberdurationus-gaap:DesignatedAsHedgingInstrumentMember
9 us-gaap:BalanceSheetLocationAxis (terseLabel)Axisdurationus-gaap:BalanceSheetLocationAxis
10 us-gaap:BalanceSheetLocationDomain (terseLabel)Memberdurationus-gaap:BalanceSheetLocationDomain
11 us-gaap:ShortTermInvestmentsMember (terseLabel)Memberdurationus-gaap:ShortTermInvestmentsMember
12 us-gaap:OtherCurrentAssetsMember (terseLabel)Memberdurationus-gaap:OtherCurrentAssetsMember
13 msft:EquityAndOtherInvestmentsMember (terseLabel)Memberdurationmsft:EquityAndOtherInvestmentsMember
14 us-gaap:OtherNoncurrentAssetsMember (terseLabel)Memberdurationus-gaap:OtherNoncurrentAssetsMember
15 us-gaap:OtherCurrentLiabilitiesMember (terseLabel)Memberdurationus-gaap:OtherCurrentLiabilitiesMember
16 us-gaap:OtherNoncurrentLiabilitiesMember (terseLabel)Memberdurationus-gaap:OtherNoncurrentLiabilitiesMember
17 us-gaap:DerivativeInstrumentRiskAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentRiskAxis
18 us-gaap:DerivativeContractTypeDomain (terseLabel)Memberdurationus-gaap:DerivativeContractTypeDomain
19 us-gaap:ForeignExchangeContractMember (terseLabel)Memberdurationus-gaap:ForeignExchangeContractMember
20 us-gaap:EquityContractMember (terseLabel)Memberdurationus-gaap:EquityContractMember
21 us-gaap:InterestRateContractMember (terseLabel)Memberdurationus-gaap:InterestRateContractMember
22 us-gaap:CreditRiskContractMember (terseLabel)Memberdurationus-gaap:CreditRiskContractMember
23 msft:BalanceSheetOffsettingEligibilityAxis (terseLabel)Axisdurationmsft:BalanceSheetOffsettingEligibilityAxis
24 msft:BalanceSheetOffsettingEligibilityDomain (terseLabel)Memberdurationmsft:BalanceSheetOffsettingEligibilityDomain
25 msft:EligibleForOffsettingMember (terseLabel)Memberdurationmsft:EligibleForOffsettingMember
26 us-gaap:DerivativesFairValueLineItems (terseLabel)LineItemsdurationus-gaap:DerivativesFairValueLineItems
27 us-gaap:DerivativeFairValueOfDerivativeAsset (terseLabel)Concept (Monetary)instantdebitus-gaap:DerivativeFairValueOfDerivativeAsset
28 us-gaap:DerivativeAssetFairValueGrossLiability (negatedLabel)Concept (Monetary)instantcreditus-gaap:DerivativeAssetFairValueGrossLiability
29 msft:DerivativeAssetsNetAmountsPresentedInBalanceSheet (totalLabel)Concept (Monetary)instantdebitmsft:DerivativeAssetsNetAmountsPresentedInBalanceSheet
30 msft:DerivativeFairValueOfDerivativeAssetAmountNotOffset (terseLabel)Concept (Monetary)instantdebitmsft:DerivativeFairValueOfDerivativeAssetAmountNotOffset
31 us-gaap:DerivativeCollateralRightToReclaimCash (terseLabel)Concept (Monetary)instantdebitus-gaap:DerivativeCollateralRightToReclaimCash
32 msft:DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet (totalLabel)Concept (Monetary)instantdebitmsft:DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet
33 us-gaap:DerivativeFairValueOfDerivativeLiability (negatedLabel)Concept (Monetary)instantcreditus-gaap:DerivativeFairValueOfDerivativeLiability
34 us-gaap:DerivativeLiabilityFairValueGrossAsset (terseLabel)Concept (Monetary)instantdebitus-gaap:DerivativeLiabilityFairValueGrossAsset
35 msft:DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet (negatedTotalLabel)Concept (Monetary)instantcreditmsft:DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet
36 msft:DerivativeFairValueOfDerivativeLiabilityAmountNotOffset (negatedLabel)Concept (Monetary)instantcreditmsft:DerivativeFairValueOfDerivativeLiabilityAmountNotOffset
37 us-gaap:DerivativeCollateralObligationToReturnCash (negatedLabel)Concept (Monetary)instantcreditus-gaap:DerivativeCollateralObligationToReturnCash
38 msft:DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet (negatedTotalLabel)Concept (Monetary)instantcreditmsft:DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet

Model Structure
Network
100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel)Tabledurationus-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DerivativeInstrumentRiskAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentRiskAxis
6 us-gaap:DerivativeContractTypeDomain (terseLabel)Memberdurationus-gaap:DerivativeContractTypeDomain
7 us-gaap:ForeignExchangeContractMember (terseLabel)Memberdurationus-gaap:ForeignExchangeContractMember
8 us-gaap:EquityContractMember (terseLabel)Memberdurationus-gaap:EquityContractMember
9 us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel)LineItemsdurationus-gaap:DerivativeInstrumentsGainLossLineItems
10 us-gaap:ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1 (terseLabel)Concept (Monetary)durationcreditus-gaap:ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1
11 us-gaap:ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1 (terseLabel)Concept (Monetary)durationcreditus-gaap:ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1
12 us-gaap:GainLossOnFairValueHedgeIneffectivenessNet (totalLabel)Concept (Monetary)durationcreditus-gaap:GainLossOnFairValueHedgeIneffectivenessNet
13 us-gaap:GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet (terseLabel)Concept (Monetary)durationcreditus-gaap:GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet

Model Structure
Network
100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel)Tabledurationus-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:HedgingDesignationAxis (terseLabel)Axisdurationus-gaap:HedgingDesignationAxis
6 us-gaap:HedgingDesignationDomain (terseLabel)Memberdurationus-gaap:HedgingDesignationDomain
7 us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel)Memberdurationus-gaap:DesignatedAsHedgingInstrumentMember
8 us-gaap:DerivativeInstrumentRiskAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentRiskAxis
9 us-gaap:DerivativeContractTypeDomain (terseLabel)Memberdurationus-gaap:DerivativeContractTypeDomain
10 us-gaap:ForeignExchangeContractMember (terseLabel)Memberdurationus-gaap:ForeignExchangeContractMember
11 us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel)LineItemsdurationus-gaap:DerivativeInstrumentsGainLossLineItems
12 msft:GainLossOnCashFlowHedgeEffectivenessNetAbstract (terseLabel)Abstractdurationmsft:GainLossOnCashFlowHedgeEffectivenessNetAbstract
13 us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax (terseLabel)Concept (Monetary)durationcreditus-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax
14 us-gaap:ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet (terseLabel)Concept (Monetary)durationcreditus-gaap:ForeignCurrencyCashFlowHedgeGainLossReclassifiedToEarningsNet
15 us-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstract (terseLabel)Abstractdurationus-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetAbstract
16 us-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet (terseLabel)Concept (Monetary)durationcreditus-gaap:DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet

Model Structure
Network
100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel)Tabledurationus-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:HedgingDesignationAxis (terseLabel)Axisdurationus-gaap:HedgingDesignationAxis
6 us-gaap:HedgingDesignationDomain (terseLabel)Memberdurationus-gaap:HedgingDesignationDomain
7 us-gaap:DesignatedAsHedgingInstrumentMember (terseLabel)Memberdurationus-gaap:DesignatedAsHedgingInstrumentMember
8 us-gaap:DerivativeInstrumentRiskAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentRiskAxis
9 us-gaap:DerivativeContractTypeDomain (terseLabel)Memberdurationus-gaap:DerivativeContractTypeDomain
10 us-gaap:ForeignExchangeContractMember (terseLabel)Memberdurationus-gaap:ForeignExchangeContractMember
11 us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel)LineItemsdurationus-gaap:DerivativeInstrumentsGainLossLineItems
12 us-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax (terseLabel)Concept (Monetary)durationdebitus-gaap:OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodTax

Model Structure
Network
100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNonDesignatedDerivativeGainsLossesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Derivative Instruments And Hedging Activities Disclosure [Abstract]Abstractdurationus-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
2 us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable (terseLabel)Tabledurationus-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DerivativeInstrumentRiskAxis (terseLabel)Axisdurationus-gaap:DerivativeInstrumentRiskAxis
6 us-gaap:DerivativeContractTypeDomain (terseLabel)Memberdurationus-gaap:DerivativeContractTypeDomain
7 us-gaap:ForeignExchangeContractMember (terseLabel)Memberdurationus-gaap:ForeignExchangeContractMember
8 us-gaap:EquityContractMember (terseLabel)Memberdurationus-gaap:EquityContractMember
9 us-gaap:InterestRateContractMember (terseLabel)Memberdurationus-gaap:InterestRateContractMember
10 us-gaap:CreditRiskContractMember (terseLabel)Memberdurationus-gaap:CreditRiskContractMember
11 us-gaap:CommodityContractMember (terseLabel)Memberdurationus-gaap:CommodityContractMember
12 us-gaap:DerivativeInstrumentsGainLossLineItems (terseLabel)LineItemsdurationus-gaap:DerivativeInstrumentsGainLossLineItems
13 us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet (terseLabel)Concept (Monetary)durationcreditus-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet

Model Structure
Network
100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Fair Value Disclosures [Abstract]Abstractdurationus-gaap:FairValueDisclosuresAbstract
2 us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable (terseLabel)Tabledurationus-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:FairValueByLiabilityClassAxis (terseLabel)Axisdurationus-gaap:FairValueByLiabilityClassAxis
6 us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain (terseLabel)Memberdurationus-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain
7 us-gaap:DerivativeFinancialInstrumentsLiabilitiesMember (terseLabel)Memberdurationus-gaap:DerivativeFinancialInstrumentsLiabilitiesMember
8 msft:RightOfOffsetAndNettingAxis (terseLabel)Axisdurationmsft:RightOfOffsetAndNettingAxis
9 msft:RightOfOffsetAndNettingDomain (terseLabel)Memberdurationmsft:RightOfOffsetAndNettingDomain
10 msft:GrossMember (terseLabel)Memberdurationmsft:GrossMember
11 msft:NettingMember (terseLabel)Memberdurationmsft:NettingMember
12 msft:NetMember (terseLabel)Memberdurationmsft:NetMember
13 us-gaap:FairValueByAssetClassAxis (terseLabel)Axisdurationus-gaap:FairValueByAssetClassAxis
14 us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain (terseLabel)Memberdurationus-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain
15 us-gaap:MoneyMarketFundsMember (terseLabel)Memberdurationus-gaap:MoneyMarketFundsMember
16 us-gaap:CommercialPaperMember (terseLabel)Memberdurationus-gaap:CommercialPaperMember
17 us-gaap:CertificatesOfDepositMember (terseLabel)Memberdurationus-gaap:CertificatesOfDepositMember
18 us-gaap:USGovernmentAgenciesDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:USGovernmentAgenciesDebtSecuritiesMember
19 us-gaap:ForeignGovernmentDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:ForeignGovernmentDebtSecuritiesMember
20 us-gaap:AssetBackedSecuritiesMember (terseLabel)Memberdurationus-gaap:AssetBackedSecuritiesMember
21 us-gaap:CorporateDebtSecuritiesMember (terseLabel)Memberdurationus-gaap:CorporateDebtSecuritiesMember
22 us-gaap:USStatesAndPoliticalSubdivisionsMember (terseLabel)Memberdurationus-gaap:USStatesAndPoliticalSubdivisionsMember
23 us-gaap:EquitySecuritiesMember (terseLabel)Memberdurationus-gaap:EquitySecuritiesMember
24 us-gaap:DerivativeFinancialInstrumentsAssetsMember (terseLabel)Memberdurationus-gaap:DerivativeFinancialInstrumentsAssetsMember
25 us-gaap:FairValueByFairValueHierarchyLevelAxis (terseLabel)Axisdurationus-gaap:FairValueByFairValueHierarchyLevelAxis
26 us-gaap:FairValueMeasurementsFairValueHierarchyDomain (terseLabel)Memberdurationus-gaap:FairValueMeasurementsFairValueHierarchyDomain
27 us-gaap:FairValueInputsLevel1Member (terseLabel)Memberdurationus-gaap:FairValueInputsLevel1Member
28 us-gaap:FairValueInputsLevel2Member (terseLabel)Memberdurationus-gaap:FairValueInputsLevel2Member
29 us-gaap:FairValueInputsLevel3Member (terseLabel)Memberdurationus-gaap:FairValueInputsLevel3Member
30 us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems (terseLabel)LineItemsdurationus-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
31 us-gaap:AssetsFairValueDisclosureRecurring (terseLabel)Concept (Monetary)instantdebitus-gaap:AssetsFairValueDisclosureRecurring
32 us-gaap:LiabilitiesFairValueDisclosureRecurring (terseLabel)Concept (Monetary)instantcreditus-gaap:LiabilitiesFairValueDisclosureRecurring

Model Structure
Network
100700 - Disclosure - Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureReconciliationOfTotalAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Fair Value Disclosures [Abstract]Abstractdurationus-gaap:FairValueDisclosuresAbstract
2 us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable (terseLabel)Tabledurationus-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:FairValueByMeasurementFrequencyAxis (terseLabel)Axisdurationus-gaap:FairValueByMeasurementFrequencyAxis
6 us-gaap:FairValueMeasurementFrequencyDomain (terseLabel)Memberdurationus-gaap:FairValueMeasurementFrequencyDomain
7 us-gaap:FairValueMeasurementsRecurringMember (terseLabel)Memberdurationus-gaap:FairValueMeasurementsRecurringMember
8 us-gaap:FairValueMeasurementsNonrecurringMember (terseLabel)Memberdurationus-gaap:FairValueMeasurementsNonrecurringMember
9 us-gaap:BalanceSheetLocationAxis (terseLabel)Axisdurationus-gaap:BalanceSheetLocationAxis
10 us-gaap:BalanceSheetLocationDomain (terseLabel)Memberdurationus-gaap:BalanceSheetLocationDomain
11 us-gaap:OtherAssetsMember (terseLabel)Memberdurationus-gaap:OtherAssetsMember
12 us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems (terseLabel)LineItemsdurationus-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
13 Net fair value of assets measured at fair value on a recurring basisConcept (Monetary)instantdebitus-gaap:AssetsFairValueDisclosureRecurring
14 CashConcept (Monetary)instantdebitus-gaap:Cash
15 Common and preferred stock measured at fair value on a nonrecurring basisConcept (Monetary)instantdebitus-gaap:CostMethodInvestments
16 Other investments measured at fair value on a nonrecurring basisConcept (Monetary)instantdebitus-gaap:EquityMethodInvestments
17 us-gaap:DerivativeAssets (negatedLabel)Concept (Monetary)instantdebitus-gaap:DerivativeAssets
18 us-gaap:OtherAssetsFairValueDisclosure (terseLabel)Concept (Monetary)instantdebitus-gaap:OtherAssetsFairValueDisclosure
19 Recorded basis of investment componentsConcept (Monetary)instantdebitus-gaap:AvailableForSaleSecurities

Model Structure
Network
100710 - Disclosure - Components of Inventories (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfInventoriesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Inventory Disclosure [Abstract]Abstractdurationus-gaap:InventoryDisclosureAbstract
2 us-gaap:InventoryCurrentTable (terseLabel)Tabledurationus-gaap:InventoryCurrentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:InventoryLineItems (terseLabel)LineItemsdurationus-gaap:InventoryLineItems
6 us-gaap:InventoryRawMaterialsNetOfReserves (terseLabel)Concept (Monetary)instantdebitus-gaap:InventoryRawMaterialsNetOfReserves
7 us-gaap:InventoryWorkInProcessNetOfReserves (terseLabel)Concept (Monetary)instantdebitus-gaap:InventoryWorkInProcessNetOfReserves
8 us-gaap:InventoryFinishedGoodsNetOfReserves (terseLabel)Concept (Monetary)instantdebitus-gaap:InventoryFinishedGoodsNetOfReserves
9 TotalConcept (Monetary)instantdebitus-gaap:InventoryNet

Model Structure
Network
100720 - Disclosure - Components of Property and Equipment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfPropertyAndEquipmentDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Property Plant And Equipment [Abstract]Abstractdurationus-gaap:PropertyPlantAndEquipmentAbstract
2 us-gaap:ScheduleOfPropertyPlantAndEquipmentTable (terseLabel)Tabledurationus-gaap:ScheduleOfPropertyPlantAndEquipmentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:PropertyPlantAndEquipmentLineItems (terseLabel)LineItemsdurationus-gaap:PropertyPlantAndEquipmentLineItems
6 us-gaap:Land (terseLabel)Concept (Monetary)instantdebitus-gaap:Land
7 us-gaap:BuildingsAndImprovementsGross (terseLabel)Concept (Monetary)instantdebitus-gaap:BuildingsAndImprovementsGross
8 us-gaap:LeaseholdImprovementsGross (terseLabel)Concept (Monetary)instantdebitus-gaap:LeaseholdImprovementsGross
9 msft:ComputerHardwareAndSoftware (terseLabel)Concept (Monetary)instantdebitmsft:ComputerHardwareAndSoftware
10 us-gaap:FurnitureAndFixturesGross (terseLabel)Concept (Monetary)instantdebitus-gaap:FurnitureAndFixturesGross
11 us-gaap:PropertyPlantAndEquipmentGross (totalLabel)Concept (Monetary)instantdebitus-gaap:PropertyPlantAndEquipmentGross
12 Accumulated depreciationConcept (Monetary)instantcreditus-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment
13 Total, netConcept (Monetary)instantdebitus-gaap:PropertyPlantAndEquipmentNet

Model Structure
Network
100730 - Disclosure - Property and Equipment - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Property Plant And Equipment [Abstract]Abstractdurationus-gaap:PropertyPlantAndEquipmentAbstract
2 us-gaap:ScheduleOfPropertyPlantAndEquipmentTable (terseLabel)Tabledurationus-gaap:ScheduleOfPropertyPlantAndEquipmentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:PropertyPlantAndEquipmentLineItems (terseLabel)LineItemsdurationus-gaap:PropertyPlantAndEquipmentLineItems
6 us-gaap:CapitalLeasedAssetsGross (terseLabel)Concept (Monetary)instantdebitus-gaap:CapitalLeasedAssetsGross
7 us-gaap:CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesLesseeBalanceSheetAssetsByMajorClassAccumulatedDeprecation
8 us-gaap:CapitalLeaseObligationsIncurred (terseLabel)Concept (Monetary)durationcreditus-gaap:CapitalLeaseObligationsIncurred
9 us-gaap:Depreciation (terseLabel)Concept (Monetary)durationdebitus-gaap:Depreciation

Model Structure
Network
100740 - Disclosure - Business Combinations - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBusinessCombinationsAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel)Tabledurationus-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BusinessAcquisitionAxis (terseLabel)Axisdurationus-gaap:BusinessAcquisitionAxis
6 us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel)Memberdurationus-gaap:BusinessAcquisitionAcquireeDomain
7 msft:LinkedInCorporationMember (terseLabel)Memberdurationmsft:LinkedInCorporationMember
8 us-gaap:BusinessAcquisitionLineItems (terseLabel)LineItemsdurationus-gaap:BusinessAcquisitionLineItems
9 us-gaap:BusinessAcquisitionEffectiveDateOfAcquisition1 (terseLabel)Concept (Date)durationus-gaap:BusinessAcquisitionEffectiveDateOfAcquisition1
10 us-gaap:BusinessAcquisitionNameOfAcquiredEntity (terseLabel)Concept (String)durationus-gaap:BusinessAcquisitionNameOfAcquiredEntity
11 us-gaap:BusinessCombinationConsiderationTransferred1 (terseLabel)Concept (Monetary)durationcreditus-gaap:BusinessCombinationConsiderationTransferred1
12 us-gaap:PaymentsToAcquireBusinessesGross (terseLabel)Concept (Monetary)durationcreditus-gaap:PaymentsToAcquireBusinessesGross

Model Structure
Network
100750 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel)Tabledurationus-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BusinessAcquisitionAxis (terseLabel)Axisdurationus-gaap:BusinessAcquisitionAxis
6 us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel)Memberdurationus-gaap:BusinessAcquisitionAcquireeDomain
7 msft:LinkedInCorporationMember (terseLabel)Memberdurationmsft:LinkedInCorporationMember
8 us-gaap:BusinessAcquisitionLineItems (terseLabel)LineItemsdurationus-gaap:BusinessAcquisitionLineItems
9 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents (terseLabel)Concept (Monetary)instantdebitus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
10 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities (terseLabel)Concept (Monetary)instantdebitus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities
11 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther (terseLabel)Concept (Monetary)instantdebitus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther
12 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment (terseLabel)Concept (Monetary)instantdebitus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
13 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (verboseLabel)Concept (Monetary)instantdebitus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
14 us-gaap:Goodwill (terseLabel)Concept (Monetary)instantdebitus-gaap:Goodwill
15 msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt (negatedLabel)Concept (Monetary)instantcreditmsft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt
16 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther (negatedLabel)Concept (Monetary)instantcreditus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther
17 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent (negatedLabel)Concept (Monetary)instantcreditus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent
18 msft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet (negatedLabel)Concept (Monetary)instantcreditmsft:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet
19 us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet (totalLabel)Concept (Monetary)instantdebitus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet

Model Structure
Network
100760 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel)Tabledurationus-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BusinessAcquisitionAxis (terseLabel)Axisdurationus-gaap:BusinessAcquisitionAxis
6 us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel)Memberdurationus-gaap:BusinessAcquisitionAcquireeDomain
7 msft:LinkedInCorporationMember (terseLabel)Memberdurationmsft:LinkedInCorporationMember
8 us-gaap:BusinessAcquisitionLineItems (terseLabel)LineItemsdurationus-gaap:BusinessAcquisitionLineItems
9 us-gaap:BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount (terseLabel)Concept (Monetary)instantdebitus-gaap:BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount
10 us-gaap:DebtInstrumentFaceAmount (verboseLabel)Concept (Monetary)instantcreditus-gaap:DebtInstrumentFaceAmount

Model Structure
Network
100770 - Disclosure - Acquired Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAcquiredIntangibleAssetsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable (terseLabel)Tabledurationus-gaap:FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BusinessAcquisitionAxis (terseLabel)Axisdurationus-gaap:BusinessAcquisitionAxis
6 us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel)Memberdurationus-gaap:BusinessAcquisitionAcquireeDomain
7 msft:LinkedInCorporationMember (terseLabel)Memberdurationmsft:LinkedInCorporationMember
8 us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel)Axisdurationus-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis
9 us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel)Memberdurationus-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain
10 us-gaap:CustomerRelationshipsMember (terseLabel)Memberdurationus-gaap:CustomerRelationshipsMember
11 us-gaap:MarketingRelatedIntangibleAssetsMember (terseLabel)Memberdurationus-gaap:MarketingRelatedIntangibleAssetsMember
12 us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel)Memberdurationus-gaap:TechnologyBasedIntangibleAssetsMember
13 us-gaap:ContractualRightsMember (terseLabel)Memberdurationus-gaap:ContractualRightsMember
14 us-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems (terseLabel)LineItemsdurationus-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems
15 Fair value of intangible assets acquiredConcept (Monetary)instantdebitus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
16 us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife (terseLabel)Concept (Duration)durationus-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife

Model Structure
Network
100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueAndOperatingLossAttributableToAcquireeSinceDateOfAcquisitionDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel)Tabledurationus-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BusinessAcquisitionAxis (terseLabel)Axisdurationus-gaap:BusinessAcquisitionAxis
6 us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel)Memberdurationus-gaap:BusinessAcquisitionAcquireeDomain
7 msft:LinkedInCorporationMember (terseLabel)Memberdurationmsft:LinkedInCorporationMember
8 us-gaap:BusinessAcquisitionLineItems (terseLabel)LineItemsdurationus-gaap:BusinessAcquisitionLineItems
9 us-gaap:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual (terseLabel)Concept (Monetary)durationcreditus-gaap:BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual
10 us-gaap:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual (terseLabel)Concept (Monetary)durationcreditus-gaap:BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual

Model Structure
Network
100790 - Disclosure - Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSupplementalConsolidatedFinancialResultsOnUnauditedProFormaBasisAsIfAcquisitionHadBeenConsummatedOnBeginningOfPeriodDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Business Combinations [Abstract]Abstractdurationus-gaap:BusinessCombinationsAbstract
2 us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable (terseLabel)Tabledurationus-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BusinessAcquisitionAxis (terseLabel)Axisdurationus-gaap:BusinessAcquisitionAxis
6 us-gaap:BusinessAcquisitionAcquireeDomain (terseLabel)Memberdurationus-gaap:BusinessAcquisitionAcquireeDomain
7 msft:LinkedInCorporationMember (terseLabel)Memberdurationmsft:LinkedInCorporationMember
8 us-gaap:BusinessAcquisitionLineItems (terseLabel)LineItemsdurationus-gaap:BusinessAcquisitionLineItems
9 us-gaap:BusinessAcquisitionsProFormaRevenue (terseLabel)Concept (Monetary)durationcreditus-gaap:BusinessAcquisitionsProFormaRevenue
10 us-gaap:BusinessAcquisitionsProFormaNetIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:BusinessAcquisitionsProFormaNetIncomeLoss
11 us-gaap:BusinessAcquisitionProFormaEarningsPerShareDiluted (terseLabel)Concept (Per-Share)durationus-gaap:BusinessAcquisitionProFormaEarningsPerShareDiluted

Model Structure
Network
100800 - Disclosure - Carrying Amount of Goodwill (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCarryingAmountOfGoodwillDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:ScheduleOfGoodwillTable (terseLabel)Tabledurationus-gaap:ScheduleOfGoodwillTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
6 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
7 msft:ProductivityAndBusinessProcessesMember (terseLabel)Memberdurationmsft:ProductivityAndBusinessProcessesMember
8 msft:IntelligentCloudMember (terseLabel)Memberdurationmsft:IntelligentCloudMember
9 msft:MorePersonalComputingMember (terseLabel)Memberdurationmsft:MorePersonalComputingMember
10 us-gaap:GoodwillLineItems (terseLabel)LineItemsdurationus-gaap:GoodwillLineItems
11 us-gaap:Goodwill (periodStartLabel)Concept (Monetary)instantdebitus-gaap:Goodwill
12 us-gaap:GoodwillAcquiredDuringPeriod (terseLabel)Concept (Monetary)durationdebitus-gaap:GoodwillAcquiredDuringPeriod
13 us-gaap:GoodwillOtherIncreaseDecrease (terseLabel)Concept (Monetary)durationdebitus-gaap:GoodwillOtherIncreaseDecrease
14 Ending BalanceConcept (Monetary)instantdebitus-gaap:Goodwill

Model Structure
Network
100810 - Disclosure - Goodwill - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGoodwillAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:ScheduleOfGoodwillTable (terseLabel)Tabledurationus-gaap:ScheduleOfGoodwillTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
6 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
7 msft:PhoneHardwareMember (terseLabel)Memberdurationmsft:PhoneHardwareMember
8 us-gaap:GoodwillLineItems (terseLabel)LineItemsdurationus-gaap:GoodwillLineItems
9 us-gaap:GoodwillImpairedAccumulatedImpairmentLoss (terseLabel)Concept (Monetary)instantcreditus-gaap:GoodwillImpairedAccumulatedImpairmentLoss
10 us-gaap:GoodwillImpairmentLoss (terseLabel)Concept (Monetary)durationdebitus-gaap:GoodwillImpairmentLoss

Model Structure
Network
100820 - Disclosure - Finite-Lived Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel)Tabledurationus-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel)Axisdurationus-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis
6 us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel)Memberdurationus-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain
7 us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel)Memberdurationus-gaap:TechnologyBasedIntangibleAssetsMember
8 Marketing-relatedMemberdurationus-gaap:MarketingRelatedIntangibleAssetsMember
9 us-gaap:ContractualRightsMember (terseLabel)Memberdurationus-gaap:ContractualRightsMember
10 us-gaap:CustomerRelationshipsMember (terseLabel)Memberdurationus-gaap:CustomerRelationshipsMember
11 us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel)LineItemsdurationus-gaap:FiniteLivedIntangibleAssetsLineItems
12 us-gaap:FiniteLivedIntangibleAssetsGross (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsGross
13 us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization (negatedLabel)Concept (Monetary)instantcreditus-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization
14 Net Carrying AmountConcept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsNet

Model Structure
Network
100830 - Disclosure - Finite-Lived Intangible Assets (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel)Tabledurationus-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel)Axisdurationus-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis
6 us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel)Memberdurationus-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain
7 us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel)Memberdurationus-gaap:TechnologyBasedIntangibleAssetsMember
8 us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel)LineItemsdurationus-gaap:FiniteLivedIntangibleAssetsLineItems
9 us-gaap:CapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers (terseLabel)Concept (Monetary)instantdebitus-gaap:CapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers

Model Structure
Network
100840 - Disclosure - Intangible Assets - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel)Tabledurationus-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
6 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
7 msft:DevicesMember (terseLabel)Memberdurationmsft:DevicesMember
8 msft:PhoneHardwareMember (terseLabel)Memberdurationmsft:PhoneHardwareMember
9 us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel)LineItemsdurationus-gaap:FiniteLivedIntangibleAssetsLineItems
10 us-gaap:ImpairmentOfIntangibleAssetsFinitelived (terseLabel)Concept (Monetary)durationdebitus-gaap:ImpairmentOfIntangibleAssetsFinitelived
11 us-gaap:AmortizationOfIntangibleAssets (terseLabel)Concept (Monetary)durationdebitus-gaap:AmortizationOfIntangibleAssets
12 us-gaap:CapitalizedComputerSoftwareAmortization1 (terseLabel)Concept (Monetary)durationdebitus-gaap:CapitalizedComputerSoftwareAmortization1

Model Structure
Network
100850 - Disclosure - Intangible Assets Acquired (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAcquiredDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable (terseLabel)Tabledurationus-gaap:ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis (terseLabel)Axisdurationus-gaap:FiniteLivedIntangibleAssetsByMajorClassAxis
6 us-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain (terseLabel)Memberdurationus-gaap:FiniteLivedIntangibleAssetsMajorClassNameDomain
7 us-gaap:CustomerRelationshipsMember (terseLabel)Memberdurationus-gaap:CustomerRelationshipsMember
8 us-gaap:TechnologyBasedIntangibleAssetsMember (terseLabel)Memberdurationus-gaap:TechnologyBasedIntangibleAssetsMember
9 Marketing-relatedMemberdurationus-gaap:MarketingRelatedIntangibleAssetsMember
10 us-gaap:ContractualRightsMember (terseLabel)Memberdurationus-gaap:ContractualRightsMember
11 us-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems (terseLabel)LineItemsdurationus-gaap:AcquiredFiniteLivedIntangibleAssetsLineItems
12 msft:AcquiredFiniteLivedIntangibleAssets (terseLabel)Concept (Monetary)durationdebitmsft:AcquiredFiniteLivedIntangibleAssets
13 us-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife (terseLabel)Concept (Duration)durationus-gaap:AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife

Model Structure
Network
100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Goodwill And Intangible Assets Disclosure [Abstract]Abstractdurationus-gaap:GoodwillAndIntangibleAssetsDisclosureAbstract
2 us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable (terseLabel)Tabledurationus-gaap:ScheduleOfFiniteLivedIntangibleAssetsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:FiniteLivedIntangibleAssetsLineItems (terseLabel)LineItemsdurationus-gaap:FiniteLivedIntangibleAssetsLineItems
6 us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths
7 us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo
8 us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearThree
9 us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFour
10 us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFive (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseYearFive
11 us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive (terseLabel)Concept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive
12 Net Carrying AmountConcept (Monetary)instantdebitus-gaap:FiniteLivedIntangibleAssetsNet

Model Structure
Network
100870 - Disclosure - Debt - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Debt Disclosure [Abstract]Abstractdurationus-gaap:DebtDisclosureAbstract
2 us-gaap:DebtInstrumentTable (terseLabel)Tabledurationus-gaap:DebtInstrumentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ShortTermDebtTypeAxis (terseLabel)Axisdurationus-gaap:ShortTermDebtTypeAxis
6 us-gaap:ShortTermDebtTypeDomain (terseLabel)Memberdurationus-gaap:ShortTermDebtTypeDomain
7 us-gaap:CommercialPaperMember (terseLabel)Memberdurationus-gaap:CommercialPaperMember
8 us-gaap:RangeAxis (terseLabel)Axisdurationus-gaap:RangeAxis
9 us-gaap:RangeMember (terseLabel)Memberdurationus-gaap:RangeMember
10 Lower LimitMemberdurationus-gaap:MinimumMember
11 Upper LimitMemberdurationus-gaap:MaximumMember
12 us-gaap:DebtInstrumentAxis (terseLabel)Axisdurationus-gaap:DebtInstrumentAxis
13 us-gaap:DebtInstrumentNameDomain (terseLabel)Memberdurationus-gaap:DebtInstrumentNameDomain
14 msft:CreditFacilityExpireOnOctoberThirtyOneTwentySeventeenMember (terseLabel)Memberdurationmsft:CreditFacilityExpireOnOctoberThirtyOneTwentySeventeenMember
15 msft:CreditFacilityExpireOnNovemberFourteenTwentyEighteenMember (terseLabel)Memberdurationmsft:CreditFacilityExpireOnNovemberFourteenTwentyEighteenMember
16 us-gaap:DebtInstrumentLineItems (terseLabel)LineItemsdurationus-gaap:DebtInstrumentLineItems
17 us-gaap:CommercialPaper (terseLabel)Concept (Monetary)instantcreditus-gaap:CommercialPaper
18 us-gaap:ShortTermDebtWeightedAverageInterestRate (terseLabel)Concept (Percent)instantus-gaap:ShortTermDebtWeightedAverageInterestRate
19 us-gaap:DebtInstrumentTerm (terseLabel)Concept (Duration)durationus-gaap:DebtInstrumentTerm
20 us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity (terseLabel)Concept (Monetary)instantcreditus-gaap:LineOfCreditFacilityMaximumBorrowingCapacity
21 us-gaap:LineOfCreditFacilityExpirationDate1 (terseLabel)Concept (Date)durationus-gaap:LineOfCreditFacilityExpirationDate1
22 us-gaap:LineOfCreditFacilityCovenantCompliance (terseLabel)Concept (String)durationus-gaap:LineOfCreditFacilityCovenantCompliance
23 us-gaap:ProceedsFromLinesOfCredit (terseLabel)Concept (Monetary)durationdebitus-gaap:ProceedsFromLinesOfCredit
24 us-gaap:LongTermDebt (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebt
25 us-gaap:LongTermDebtFairValue (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtFairValue
26 us-gaap:InterestPaid (terseLabel)Concept (Monetary)durationcreditus-gaap:InterestPaid
27 us-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet (terseLabel)Concept (Monetary)instantdebitus-gaap:DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet

Model Structure
Network
100880 - Disclosure - Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Debt Disclosure [Abstract]Abstractdurationus-gaap:DebtDisclosureAbstract
2 us-gaap:DebtInstrumentTable (terseLabel)Tabledurationus-gaap:DebtInstrumentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DebtInstrumentAxis (terseLabel)Axisdurationus-gaap:DebtInstrumentAxis
6 us-gaap:DebtInstrumentNameDomain (terseLabel)Memberdurationus-gaap:DebtInstrumentNameDomain
7 msft:NotesZeroPointEightSevenFivePercentDueNovemberFifteenTwentySeventeenMember (terseLabel)Memberdurationmsft:NotesZeroPointEightSevenFivePercentDueNovemberFifteenTwentySeventeenMember
8 msft:NotesOnePointZeroPercentDueMayOneTwentyEighteenMember (terseLabel)Memberdurationmsft:NotesOnePointZeroPercentDueMayOneTwentyEighteenMember
9 msft:NotesOnePointThreeZeroPercentDueNovemberThreeTwentyEighteenMember (terseLabel)Memberdurationmsft:NotesOnePointThreeZeroPercentDueNovemberThreeTwentyEighteenMember
10 msft:NotesOnePointSixTwoFivePercentDueDecemberSixTwentyEighteenMember (terseLabel)Memberdurationmsft:NotesOnePointSixTwoFivePercentDueDecemberSixTwentyEighteenMember
11 msft:NotesFourPointTwoPercentDueJuneOneTwentyNineteenMember (terseLabel)Memberdurationmsft:NotesFourPointTwoPercentDueJuneOneTwentyNineteenMember
12 msft:NotesOnePointOnePercentDueAugustEightTwentyNineteenMember (terseLabel)Memberdurationmsft:NotesOnePointOnePercentDueAugustEightTwentyNineteenMember
13 msft:NotesZeroPointFivePercentDueNovemberOneTwentyNineteenMember (terseLabel)Memberdurationmsft:NotesZeroPointFivePercentDueNovemberOneTwentyNineteenMember
14 msft:NotesOnePointEightFivePercentDueFebruarySixTwentyTwentyMember (terseLabel)Memberdurationmsft:NotesOnePointEightFivePercentDueFebruarySixTwentyTwentyMember
15 msft:NotesOnePointEightFivePercentDueFebruaryTwelveTwentyTwentyMember (terseLabel)Memberdurationmsft:NotesOnePointEightFivePercentDueFebruaryTwelveTwentyTwentyMember
16 msft:NotesThreePointZeroPercentDueOctoberOneTwentyTwentyMember (terseLabel)Memberdurationmsft:NotesThreePointZeroPercentDueOctoberOneTwentyTwentyMember
17 msft:NotesTwoPointZeroPercentDueNovemberThreeTwentyTwentyMember (terseLabel)Memberdurationmsft:NotesTwoPointZeroPercentDueNovemberThreeTwentyTwentyMember
18 msft:NotesFourPointZeroPercentDueFebruaryEightTwentyTwentyOneMember (terseLabel)Memberdurationmsft:NotesFourPointZeroPercentDueFebruaryEightTwentyTwentyOneMember
19 msft:NotesOnePointFiveFivePercentDueAugustEightTwentyTwentyOneMember (terseLabel)Memberdurationmsft:NotesOnePointFiveFivePercentDueAugustEightTwentyTwentyOneMember
20 msft:NotesTwoPointOneTwoFivePercentDueDecemberSixTwentyTwentyOneMember (terseLabel)Memberdurationmsft:NotesTwoPointOneTwoFivePercentDueDecemberSixTwentyTwentyOneMember
21 msft:NotesTwoPointFourPercentDueFebruarySixTwentyTwentyTwoMember (terseLabel)Memberdurationmsft:NotesTwoPointFourPercentDueFebruarySixTwentyTwentyTwoMember
22 msft:NotesTwoPointThreeSevenFivePercentDueFebruaryTwelveTwentyTwentyTwoMember (terseLabel)Memberdurationmsft:NotesTwoPointThreeSevenFivePercentDueFebruaryTwelveTwentyTwentyTwoMember
23 msft:NotesTwoPointSixFivePercentDueNovemberThreeTwentyTwentyTwoMember (terseLabel)Memberdurationmsft:NotesTwoPointSixFivePercentDueNovemberThreeTwentyTwentyTwoMember
24 msft:NotesTwoPointOneTwoFivePercentDueNovemberFifteenTwentyTwentyTwoMember (terseLabel)Memberdurationmsft:NotesTwoPointOneTwoFivePercentDueNovemberFifteenTwentyTwentyTwoMember
25 msft:NotesTwoPointThreeSevenFivePercentDueMayOneTwentyTwentyThreeMember (terseLabel)Memberdurationmsft:NotesTwoPointThreeSevenFivePercentDueMayOneTwentyTwentyThreeMember
26 msft:NotesTwoPointZeroPercentDueAugustEightTwentyTwentyThreeMember (terseLabel)Memberdurationmsft:NotesTwoPointZeroPercentDueAugustEightTwentyTwentyThreeMember
27 msft:NotesThreePointSixTwoFivePercentDueDecemberFifteenTwentyTwentyThreeMember (terseLabel)Memberdurationmsft:NotesThreePointSixTwoFivePercentDueDecemberFifteenTwentyTwentyThreeMember
28 msft:NotesTwoPointEightSevenFivePercentDueFebruarySixTwentyTwentyFourMember (terseLabel)Memberdurationmsft:NotesTwoPointEightSevenFivePercentDueFebruarySixTwentyTwentyFourMember
29 msft:NotesTwoPointSevenPercentDueFebruaryTwelveTwentyTwentyFiveMember (terseLabel)Memberdurationmsft:NotesTwoPointSevenPercentDueFebruaryTwelveTwentyTwentyFiveMember
30 msft:NotesThreePointOneTwoFivePercentDueNovemberThreeTwentyTwentyFiveMember (terseLabel)Memberdurationmsft:NotesThreePointOneTwoFivePercentDueNovemberThreeTwentyTwentyFiveMember
31 msft:NotesTwoPointFourPercentDueAugustEightTwentyTwentySixMember (terseLabel)Memberdurationmsft:NotesTwoPointFourPercentDueAugustEightTwentyTwentySixMember
32 msft:NotesThreePointThreePercentDueFebruarySixTwentyTwentySevenMember (terseLabel)Memberdurationmsft:NotesThreePointThreePercentDueFebruarySixTwentyTwentySevenMember
33 msft:NotesThreePointOneTwoFivePercentDueDecemberSixTwentyTwentyEightMember (terseLabel)Memberdurationmsft:NotesThreePointOneTwoFivePercentDueDecemberSixTwentyTwentyEightMember
34 msft:NotesTwoPointSixTwoFivePercentDueMayTwoTwentyThirtyThreeMember (terseLabel)Memberdurationmsft:NotesTwoPointSixTwoFivePercentDueMayTwoTwentyThirtyThreeMember
35 msft:NotesThreePointFivePercentDueFebruaryTwelveTwentyThirtyFiveMember (terseLabel)Memberdurationmsft:NotesThreePointFivePercentDueFebruaryTwelveTwentyThirtyFiveMember
36 msft:NotesFourPointTwoPercentDueNovemberThreeTwentyThirtyFiveMember (terseLabel)Memberdurationmsft:NotesFourPointTwoPercentDueNovemberThreeTwentyThirtyFiveMember
37 msft:NotesThreePointFourFivePercentDueAugustEightTwentyThirtySixMember (terseLabel)Memberdurationmsft:NotesThreePointFourFivePercentDueAugustEightTwentyThirtySixMember
38 msft:NotesFourPointOnePercentDueFebruarySixTwentyThirtySevenMember (terseLabel)Memberdurationmsft:NotesFourPointOnePercentDueFebruarySixTwentyThirtySevenMember
39 msft:NotesFivePointTwoPercentDueJuneOneTwentyThirtyNineMember (terseLabel)Memberdurationmsft:NotesFivePointTwoPercentDueJuneOneTwentyThirtyNineMember
40 msft:NotesFourPointFivePercentDueOctoberOneTwentyFortyMember (terseLabel)Memberdurationmsft:NotesFourPointFivePercentDueOctoberOneTwentyFortyMember
41 msft:NotesFivePointThreePercentDueFebruaryEightTwentyFortyOneMember (terseLabel)Memberdurationmsft:NotesFivePointThreePercentDueFebruaryEightTwentyFortyOneMember
42 msft:NotesThreePointFivePercentDueNovemberFifteenTwentyFortyTwoMember (terseLabel)Memberdurationmsft:NotesThreePointFivePercentDueNovemberFifteenTwentyFortyTwoMember
43 msft:NotesThreePointSevenFivePercentDueMayOneTwentyFortyThreeMember (terseLabel)Memberdurationmsft:NotesThreePointSevenFivePercentDueMayOneTwentyFortyThreeMember
44 msft:NotesFourPointEightSevenFivePercentDueDecemberFifteenTwentyFortyThreeMember (terseLabel)Memberdurationmsft:NotesFourPointEightSevenFivePercentDueDecemberFifteenTwentyFortyThreeMember
45 msft:NotesThreePointSevenFivePercentDueFebruaryTwelveTwentyFortyFiveMember (terseLabel)Memberdurationmsft:NotesThreePointSevenFivePercentDueFebruaryTwelveTwentyFortyFiveMember
46 msft:NotesFourPointFourFivePercentDueNovemberThreeTwentyFortyFiveMember (terseLabel)Memberdurationmsft:NotesFourPointFourFivePercentDueNovemberThreeTwentyFortyFiveMember
47 msft:NotesThreePointSevenPercentDueAugustEightTwentyFortySixMember (terseLabel)Memberdurationmsft:NotesThreePointSevenPercentDueAugustEightTwentyFortySixMember
48 msft:NotesFourPointTwoFivePercentDueFebruarySixTwentyFortySevenMember (terseLabel)Memberdurationmsft:NotesFourPointTwoFivePercentDueFebruarySixTwentyFortySevenMember
49 msft:NotesFourPercentDueFebruaryTwelveTwentyFiftyFiveMember (terseLabel)Memberdurationmsft:NotesFourPercentDueFebruaryTwelveTwentyFiftyFiveMember
50 msft:NotesFourPointSevenFivePercentDueNovemberThreeTwentyFiftyFiveMember (terseLabel)Memberdurationmsft:NotesFourPointSevenFivePercentDueNovemberThreeTwentyFiftyFiveMember
51 msft:NotesThreePointNineFivePercentDueAugustEightTwentyFiftySixMember (terseLabel)Memberdurationmsft:NotesThreePointNineFivePercentDueAugustEightTwentyFiftySixMember
52 msft:NotesFourPointFivePercentDueFebruarySixTwentyFiftySevenMember (terseLabel)Memberdurationmsft:NotesFourPointFivePercentDueFebruarySixTwentyFiftySevenMember
53 us-gaap:DebtInstrumentLineItems (terseLabel)LineItemsdurationus-gaap:DebtInstrumentLineItems
54 us-gaap:DebtInstrumentMaturityDate (terseLabel)Concept (Date)durationus-gaap:DebtInstrumentMaturityDate
55 us-gaap:DebtInstrumentFaceAmount (terseLabel)Concept (Monetary)instantcreditus-gaap:DebtInstrumentFaceAmount
56 us-gaap:DebtInstrumentInterestRateStatedPercentage (terseLabel)Concept (Percent)instantus-gaap:DebtInstrumentInterestRateStatedPercentage
57 us-gaap:DebtInstrumentInterestRateEffectivePercentage (terseLabel)Concept (Percent)instantus-gaap:DebtInstrumentInterestRateEffectivePercentage

Model Structure
Network
100890 - Disclosure - Long-term Debt (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Debt Disclosure [Abstract]Abstractdurationus-gaap:DebtDisclosureAbstract
2 us-gaap:DebtInstrumentTable (terseLabel)Tabledurationus-gaap:DebtInstrumentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DebtInstrumentAxis (terseLabel)Axisdurationus-gaap:DebtInstrumentAxis
6 us-gaap:DebtInstrumentNameDomain (terseLabel)Memberdurationus-gaap:DebtInstrumentNameDomain
7 msft:USDDebtIssuedInPeriodMember (terseLabel)Memberdurationmsft:USDDebtIssuedInPeriodMember
8 us-gaap:DebtInstrumentLineItems (terseLabel)LineItemsdurationus-gaap:DebtInstrumentLineItems
9 us-gaap:DebtInstrumentFaceAmount (terseLabel)Concept (Monetary)instantcreditus-gaap:DebtInstrumentFaceAmount

Model Structure
Network
100900 - Disclosure - Maturities of Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMaturitiesOfLongTermDebtDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Debt Disclosure [Abstract]Abstractdurationus-gaap:DebtDisclosureAbstract
2 us-gaap:DebtInstrumentTable (terseLabel)Tabledurationus-gaap:DebtInstrumentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DebtInstrumentLineItems (terseLabel)LineItemsdurationus-gaap:DebtInstrumentLineItems
6 us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths
7 us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo
8 us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree
9 us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour
10 us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive
11 us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive (terseLabel)Concept (Monetary)instantcreditus-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive
12 TotalConcept (Monetary)instantcreditus-gaap:DebtInstrumentFaceAmount

Model Structure
Network
100910 - Disclosure - Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureProvisionForIncomeTaxesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 msft:ReconciliationOfProvisionOfIncomeTaxesTable (terseLabel)Tabledurationmsft:ReconciliationOfProvisionOfIncomeTaxesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:ReconciliationOfProvisionOfIncomeTaxesLineItems (terseLabel)LineItemsdurationmsft:ReconciliationOfProvisionOfIncomeTaxesLineItems
6 us-gaap:CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract (terseLabel)Abstractdurationus-gaap:CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract
7 us-gaap:CurrentFederalTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:CurrentFederalTaxExpenseBenefit
8 us-gaap:CurrentStateAndLocalTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:CurrentStateAndLocalTaxExpenseBenefit
9 us-gaap:CurrentForeignTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:CurrentForeignTaxExpenseBenefit
10 us-gaap:CurrentIncomeTaxExpenseBenefit (totalLabel)Concept (Monetary)durationdebitus-gaap:CurrentIncomeTaxExpenseBenefit
11 us-gaap:DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract (terseLabel)Abstractdurationus-gaap:DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract
12 Deferred taxesConcept (Monetary)durationdebitus-gaap:DeferredIncomeTaxExpenseBenefit
13 Provision for income taxesConcept (Monetary)durationdebitus-gaap:IncomeTaxExpenseBenefit

Model Structure
Network
100920 - Disclosure - Income Taxes - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 msft:IncomeTaxesTable (terseLabel)Tabledurationmsft:IncomeTaxesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
6 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
7 msft:PhoneBusinessMember (terseLabel)Memberdurationmsft:PhoneBusinessMember
8 us-gaap:IncomeStatementLocationAxis (terseLabel)Axisdurationus-gaap:IncomeStatementLocationAxis
9 us-gaap:IncomeStatementLocationDomain (terseLabel)Memberdurationus-gaap:IncomeStatementLocationDomain
10 msft:ImpairmentIntegrationAndRestructuringExpensesMember (terseLabel)Memberdurationmsft:ImpairmentIntegrationAndRestructuringExpensesMember
11 us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel)Axisdurationus-gaap:DeferredRevenueArrangementTypeAxis
12 us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel)Memberdurationus-gaap:DeferredRevenueArrangementTypeDomain
13 msft:WindowsTenDeferralMember (terseLabel)Memberdurationmsft:WindowsTenDeferralMember
14 us-gaap:IncomeTaxAuthorityAxis (terseLabel)Axisdurationus-gaap:IncomeTaxAuthorityAxis
15 us-gaap:IncomeTaxAuthorityDomain (terseLabel)Memberdurationus-gaap:IncomeTaxAuthorityDomain
16 msft:RegionalOperatingCentersMember (terseLabel)Memberdurationmsft:RegionalOperatingCentersMember
17 us-gaap:ForeignCountryMember (terseLabel)Memberdurationus-gaap:ForeignCountryMember
18 us-gaap:StatementScenarioAxis (terseLabel)Axisdurationus-gaap:StatementScenarioAxis
19 us-gaap:ScenarioUnspecifiedDomain (terseLabel)Memberdurationus-gaap:ScenarioUnspecifiedDomain
20 us-gaap:RestatementAdjustmentMember (terseLabel)Memberdurationus-gaap:RestatementAdjustmentMember
21 msft:IncomeTaxesLineItems (terseLabel)LineItemsdurationmsft:IncomeTaxesLineItems
22 us-gaap:DeferredFederalStateAndLocalTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:DeferredFederalStateAndLocalTaxExpenseBenefit
23 us-gaap:DeferredForeignIncomeTaxExpenseBenefit (terseLabel)Concept (Monetary)durationdebitus-gaap:DeferredForeignIncomeTaxExpenseBenefit
24 U.S. income (loss) before income taxesConcept (Monetary)durationcreditus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic
25 Foreign income (loss) before income taxesConcept (Monetary)durationcreditus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign
26 msft:ForeignEarningsTaxedAtRatesLowerThanUsRate (terseLabel)Concept (Percent)durationmsft:ForeignEarningsTaxedAtRatesLowerThanUsRate
27 Deferred income tax assets, loss carryforwardConcept (Monetary)instantdebitus-gaap:DeferredTaxAssetsOperatingLossCarryforwards
28 Deferred income tax assets, valuation allowanceConcept (Monetary)instantcreditus-gaap:DeferredTaxAssetsValuationAllowance
29 us-gaap:OperatingLossCarryforwards (terseLabel)Concept (Monetary)instantdebitus-gaap:OperatingLossCarryforwards
30 us-gaap:UndistributedEarningsOfForeignSubsidiaries (terseLabel)Concept (Monetary)instantcreditus-gaap:UndistributedEarningsOfForeignSubsidiaries
31 us-gaap:DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries
32 us-gaap:IncomeTaxesPaidNet (terseLabel)Concept (Monetary)durationcreditus-gaap:IncomeTaxesPaidNet
33 us-gaap:AccruedIncomeTaxesNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:AccruedIncomeTaxesNoncurrent
34 us-gaap:UnrecognizedTaxBenefits (terseLabel)Concept (Monetary)instantcreditus-gaap:UnrecognizedTaxBenefits
35 us-gaap:UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate (terseLabel)Concept (Monetary)instantcreditus-gaap:UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
36 us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued (terseLabel)Concept (Monetary)instantcreditus-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued
37 us-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense (terseLabel)Concept (Monetary)durationdebitus-gaap:UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestExpense

Model Structure
Network
100930 - Disclosure - Income (Loss) Before Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeLossBeforeIncomeTaxesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitTable (terseLabel)Tabledurationmsft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitLineItems (terseLabel)LineItemsdurationmsft:ScheduleOfComponentsOfIncomeBeforeIncomeTaxExpenseBenefitLineItems
6 us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (terseLabel)Concept (Monetary)durationcreditus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic
7 us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (terseLabel)Concept (Monetary)durationcreditus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign
8 us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments (totalLabel)Concept (Monetary)durationcreditus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments

Model Structure
Network
100940 - Disclosure - Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 msft:ReconciliationOfStatutoryFederalTaxRateTable (terseLabel)Tabledurationmsft:ReconciliationOfStatutoryFederalTaxRateTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:ReconciliationOfStatutoryFederalTaxRateLineItems (terseLabel)LineItemsdurationmsft:ReconciliationOfStatutoryFederalTaxRateLineItems
6 us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate (terseLabel)Concept (Percent)durationus-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
7 us-gaap:EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract (terseLabel)Abstractdurationus-gaap:EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract
8 us-gaap:EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential (terseLabel)Concept (Percent)durationus-gaap:EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential
9 msft:EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses (terseLabel)Concept (Percent)durationmsft:EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses
10 msft:EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation (negatedLabel)Concept (Percent)durationmsft:EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation
11 us-gaap:EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities (negatedLabel)Concept (Percent)durationus-gaap:EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities
12 msft:EffectiveIncomeTaxRateReconciliationInterestIncomeExpense (terseLabel)Concept (Percent)durationmsft:EffectiveIncomeTaxRateReconciliationInterestIncomeExpense
13 us-gaap:EffectiveIncomeTaxRateReconciliationOtherAdjustments (terseLabel)Concept (Percent)durationus-gaap:EffectiveIncomeTaxRateReconciliationOtherAdjustments
14 us-gaap:EffectiveIncomeTaxRateContinuingOperations (totalLabel)Concept (Percent)durationus-gaap:EffectiveIncomeTaxRateContinuingOperations

Model Structure
Network
100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesTable (terseLabel)Tabledurationmsft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:BalanceSheetLocationAxis (terseLabel)Axisdurationus-gaap:BalanceSheetLocationAxis
6 us-gaap:BalanceSheetLocationDomain (terseLabel)Memberdurationus-gaap:BalanceSheetLocationDomain
7 us-gaap:OtherNoncurrentAssetsMember (terseLabel)Memberdurationus-gaap:OtherNoncurrentAssetsMember
8 msft:DeferredIncomeTaxLiabilitiesNoncurrentMember (terseLabel)Memberdurationmsft:DeferredIncomeTaxLiabilitiesNoncurrentMember
9 msft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesLineItems (terseLabel)LineItemsdurationmsft:ScheduleOfDeferredIncomeTaxAssetsAndLiabilitiesLineItems
10 us-gaap:DeferredTaxAssetsNetAbstract (terseLabel)Abstractdurationus-gaap:DeferredTaxAssetsNetAbstract
11 us-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost
12 us-gaap:DeferredTaxAssetsTaxDeferredExpenseOther (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsTaxDeferredExpenseOther
13 us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges
14 us-gaap:DeferredTaxAssetsDeferredIncome (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsDeferredIncome
15 us-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses
16 us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsOperatingLossCarryforwards
17 msft:DeferredTaxAssetsDepreciationAndAmortization (terseLabel)Concept (Monetary)instantdebitmsft:DeferredTaxAssetsDepreciationAndAmortization
18 us-gaap:DeferredTaxAssetsOther (terseLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsOther
19 us-gaap:DeferredTaxAssetsGross (totalLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsGross
20 us-gaap:DeferredTaxAssetsValuationAllowance (negatedLabel)Concept (Monetary)instantcreditus-gaap:DeferredTaxAssetsValuationAllowance
21 us-gaap:DeferredTaxAssetsNet (totalLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsNet
22 us-gaap:DeferredTaxLiabilitiesAbstract (terseLabel)Abstractdurationus-gaap:DeferredTaxLiabilitiesAbstract
23 us-gaap:DeferredTaxLiabilitiesUndistributedForeignEarnings (negatedLabel)Concept (Monetary)instantcreditus-gaap:DeferredTaxLiabilitiesUndistributedForeignEarnings
24 msft:DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt (negatedLabel)Concept (Monetary)instantcreditmsft:DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt
25 msft:DeferredTaxLiabilitiesDepreciationAndAmortization (negatedLabel)Concept (Monetary)instantcreditmsft:DeferredTaxLiabilitiesDepreciationAndAmortization
26 us-gaap:DeferredTaxLiabilitiesOther (negatedLabel)Concept (Monetary)instantcreditus-gaap:DeferredTaxLiabilitiesOther
27 us-gaap:DeferredIncomeTaxLiabilities (negatedTotalLabel)Concept (Monetary)instantcreditus-gaap:DeferredIncomeTaxLiabilities
28 us-gaap:DeferredTaxAssetsLiabilitiesNet (totalLabel)Concept (Monetary)instantdebitus-gaap:DeferredTaxAssetsLiabilitiesNet
29 us-gaap:DeferredTaxLiabilities (negatedTotalLabel)Concept (Monetary)instantcreditus-gaap:DeferredTaxLiabilities

Model Structure
Network
100960 - Disclosure - Changes in Unrecognized Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInUnrecognizedTaxBenefitsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 us-gaap:IncomeTaxContingencyTable (terseLabel)Tabledurationus-gaap:IncomeTaxContingencyTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:IncomeTaxContingencyLineItems (terseLabel)LineItemsdurationus-gaap:IncomeTaxContingencyLineItems
6 us-gaap:UnrecognizedTaxBenefits (periodStartLabel)Concept (Monetary)instantcreditus-gaap:UnrecognizedTaxBenefits
7 us-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities (negatedLabel)Concept (Monetary)durationdebitus-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromSettlementsWithTaxingAuthorities
8 us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions (terseLabel)Concept (Monetary)durationcreditus-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions
9 us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions (terseLabel)Concept (Monetary)durationcreditus-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions
10 us-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions (negatedLabel)Concept (Monetary)durationdebitus-gaap:UnrecognizedTaxBenefitsDecreasesResultingFromPriorPeriodTaxPositions
11 us-gaap:UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations (negatedLabel)Concept (Monetary)durationdebitus-gaap:UnrecognizedTaxBenefitsReductionsResultingFromLapseOfApplicableStatuteOfLimitations
12 Balance, end of yearConcept (Monetary)instantcreditus-gaap:UnrecognizedTaxBenefits

Model Structure
Network
100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationRegardingExaminationsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Income Tax Disclosure [Abstract]Abstractdurationus-gaap:IncomeTaxDisclosureAbstract
2 us-gaap:IncomeTaxExaminationTable (terseLabel)Tabledurationus-gaap:IncomeTaxExaminationTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:IncomeTaxAuthorityNameAxis (terseLabel)Axisdurationus-gaap:IncomeTaxAuthorityNameAxis
6 us-gaap:IncomeTaxAuthorityNameDomain (terseLabel)Memberdurationus-gaap:IncomeTaxAuthorityNameDomain
7 us-gaap:InternalRevenueServiceIRSMember (terseLabel)Memberdurationus-gaap:InternalRevenueServiceIRSMember
8 us-gaap:TaxPeriodAxis (terseLabel)Axisdurationus-gaap:TaxPeriodAxis
9 us-gaap:TaxPeriodDomain (terseLabel)Memberdurationus-gaap:TaxPeriodDomain
10 us-gaap:EarliestTaxYearMember (terseLabel)Memberdurationus-gaap:EarliestTaxYearMember
11 us-gaap:LatestTaxYearMember (terseLabel)Memberdurationus-gaap:LatestTaxYearMember
12 us-gaap:IncomeTaxAuthorityAxis (terseLabel)Axisdurationus-gaap:IncomeTaxAuthorityAxis
13 us-gaap:IncomeTaxAuthorityDomain (terseLabel)Memberdurationus-gaap:IncomeTaxAuthorityDomain
14 us-gaap:ForeignCountryMember (terseLabel)Memberdurationus-gaap:ForeignCountryMember
15 us-gaap:IncomeTaxExaminationLineItems (terseLabel)LineItemsdurationus-gaap:IncomeTaxExaminationLineItems
16 us-gaap:IncomeTaxExaminationYearUnderExamination (terseLabel)Concept (gYear)durationus-gaap:IncomeTaxExaminationYearUnderExamination
17 us-gaap:OpenTaxYear (terseLabel)Concept (gYear)durationus-gaap:OpenTaxYear

Model Structure
Network
100980 - Disclosure - Restructuring Charges - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRestructuringChargesAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Restructuring And Related Activities [Abstract]Abstractdurationus-gaap:RestructuringAndRelatedActivitiesAbstract
2 us-gaap:ScheduleOfRestructuringAndRelatedCostsTable (terseLabel)Tabledurationus-gaap:ScheduleOfRestructuringAndRelatedCostsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:RestructuringPlanAxis (terseLabel)Axisdurationus-gaap:RestructuringPlanAxis
6 us-gaap:RestructuringPlanDomain (terseLabel)Memberdurationus-gaap:RestructuringPlanDomain
7 msft:PhoneHardwareRestructuringPlanMember (terseLabel)Memberdurationmsft:PhoneHardwareRestructuringPlanMember
8 msft:TwentySixteenRestructuringPlanMember (terseLabel)Memberdurationmsft:TwentySixteenRestructuringPlanMember
9 msft:TwentySeventeenRestructuringPlanMember (terseLabel)Memberdurationmsft:TwentySeventeenRestructuringPlanMember
10 us-gaap:RestructuringCostAndReserveAxis (terseLabel)Axisdurationus-gaap:RestructuringCostAndReserveAxis
11 us-gaap:TypeOfRestructuringDomain (terseLabel)Memberdurationus-gaap:TypeOfRestructuringDomain
12 us-gaap:EmployeeSeveranceMember (terseLabel)Memberdurationus-gaap:EmployeeSeveranceMember
13 us-gaap:RestructuringCostAndReserveLineItems (terseLabel)LineItemsdurationus-gaap:RestructuringCostAndReserveLineItems
14 us-gaap:RestructuringAndRelatedCostNumberOfPositionsEliminated (terseLabel)Concept (Integer)durationus-gaap:RestructuringAndRelatedCostNumberOfPositionsEliminated
15 us-gaap:RestructuringCharges (terseLabel)Concept (Monetary)durationdebitus-gaap:RestructuringCharges
16 us-gaap:RestructuringReserveAccrualAdjustment1 (terseLabel)Concept (Monetary)durationdebitus-gaap:RestructuringReserveAccrualAdjustment1
17 us-gaap:RestructuringAndRelatedActivitiesCompletionDate (terseLabel)Concept (Date)durationus-gaap:RestructuringAndRelatedActivitiesCompletionDate

Model Structure
Network
100990 - Disclosure - Changes in Restructuring Liability (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInRestructuringLiabilityDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Restructuring And Related Activities [Abstract]Abstractdurationus-gaap:RestructuringAndRelatedActivitiesAbstract
2 us-gaap:ScheduleOfRestructuringAndRelatedCostsTable (terseLabel)Tabledurationus-gaap:ScheduleOfRestructuringAndRelatedCostsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:RestructuringCostAndReserveAxis (terseLabel)Axisdurationus-gaap:RestructuringCostAndReserveAxis
6 us-gaap:TypeOfRestructuringDomain (terseLabel)Memberdurationus-gaap:TypeOfRestructuringDomain
7 us-gaap:EmployeeSeveranceMember (terseLabel)Memberdurationus-gaap:EmployeeSeveranceMember
8 us-gaap:OtherRestructuringMember (terseLabel)Memberdurationus-gaap:OtherRestructuringMember
9 us-gaap:RestructuringCostAndReserveLineItems (terseLabel)LineItemsdurationus-gaap:RestructuringCostAndReserveLineItems
10 us-gaap:RestructuringReserve (periodStartLabel)Concept (Monetary)instantcreditus-gaap:RestructuringReserve
11 us-gaap:RestructuringCharges (terseLabel)Concept (Monetary)durationdebitus-gaap:RestructuringCharges
12 us-gaap:PaymentsForRestructuring (negatedLabel)Concept (Monetary)durationcreditus-gaap:PaymentsForRestructuring
13 us-gaap:RestructuringReserveSettledWithoutCash2 (negatedLabel)Concept (Monetary)durationdebitus-gaap:RestructuringReserveSettledWithoutCash2
14 Balance, as of June 30, 2017Concept (Monetary)instantcreditus-gaap:RestructuringReserve

Model Structure
Network
101000 - Disclosure - Unearned Revenue by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnearnedRevenueBySegmentDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Deferred Revenue Disclosure [Abstract]Abstractdurationus-gaap:DeferredRevenueDisclosureAbstract
2 us-gaap:DeferredRevenueArrangementByTypeTable (terseLabel)Tabledurationus-gaap:DeferredRevenueArrangementByTypeTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ConsolidationItemsAxis (terseLabel)Axisdurationus-gaap:ConsolidationItemsAxis
6 us-gaap:ConsolidationItemsDomain (terseLabel)Memberdurationus-gaap:ConsolidationItemsDomain
7 us-gaap:OperatingSegmentsMember (terseLabel)Memberdurationus-gaap:OperatingSegmentsMember
8 msft:CorporateAndReconcilingItemsMember (terseLabel)Memberdurationmsft:CorporateAndReconcilingItemsMember
9 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
10 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
11 msft:ProductivityAndBusinessProcessesMember (terseLabel)Memberdurationmsft:ProductivityAndBusinessProcessesMember
12 msft:IntelligentCloudMember (terseLabel)Memberdurationmsft:IntelligentCloudMember
13 msft:MorePersonalComputingMember (terseLabel)Memberdurationmsft:MorePersonalComputingMember
14 us-gaap:DeferredRevenueArrangementLineItems (terseLabel)LineItemsdurationus-gaap:DeferredRevenueArrangementLineItems
15 us-gaap:DeferredRevenue (terseLabel)Concept (Monetary)instantcreditus-gaap:DeferredRevenue

Model Structure
Network
101010 - Disclosure - Commitments - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCommitmentsAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 msft:CommitmentsTable (terseLabel)Tabledurationmsft:CommitmentsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis (terseLabel)Axisdurationus-gaap:LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis
6 us-gaap:LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain (terseLabel)Memberdurationus-gaap:LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain
7 msft:BuildingBuildingImprovementsAndLeaseholdImprovementsMember (terseLabel)Memberdurationmsft:BuildingBuildingImprovementsAndLeaseholdImprovementsMember
8 us-gaap:PropertySubjectToOrAvailableForOperatingLeaseAxis (terseLabel)Axisdurationus-gaap:PropertySubjectToOrAvailableForOperatingLeaseAxis
9 us-gaap:PropertySubjectToOrAvailableForOperatingLeaseDomain (terseLabel)Memberdurationus-gaap:PropertySubjectToOrAvailableForOperatingLeaseDomain
10 us-gaap:BuildingMember (terseLabel)Memberdurationus-gaap:BuildingMember
11 us-gaap:BalanceSheetLocationAxis (terseLabel)Axisdurationus-gaap:BalanceSheetLocationAxis
12 us-gaap:BalanceSheetLocationDomain (terseLabel)Memberdurationus-gaap:BalanceSheetLocationDomain
13 us-gaap:OtherCurrentLiabilitiesMember (terseLabel)Memberdurationus-gaap:OtherCurrentLiabilitiesMember
14 us-gaap:OtherNoncurrentLiabilitiesMember (terseLabel)Memberdurationus-gaap:OtherNoncurrentLiabilitiesMember
15 us-gaap:UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis (terseLabel)Axisdurationus-gaap:UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis
16 us-gaap:UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain (terseLabel)Memberdurationus-gaap:UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain
17 msft:CapitalLeaseMember (terseLabel)Memberdurationmsft:CapitalLeaseMember
18 msft:CommitmentsLineItems (terseLabel)LineItemsdurationmsft:CommitmentsLineItems
19 us-gaap:CommitmentsFairValueDisclosure (terseLabel)Concept (Monetary)instantcreditus-gaap:CommitmentsFairValueDisclosure
20 us-gaap:LeaseAndRentalExpense (terseLabel)Concept (Monetary)durationdebitus-gaap:LeaseAndRentalExpense
21 us-gaap:CapitalLeaseObligationsCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeaseObligationsCurrent
22 us-gaap:CapitalLeaseObligationsNoncurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeaseObligationsNoncurrent
23 us-gaap:UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount (terseLabel)Concept (Monetary)instantcreditus-gaap:UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount

Model Structure
Network
101020 - Disclosure - Future Minimum Rental Commitments Under Non-cancellable Operating Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumRentalCommitmentsUnderNonCancellableOperatingLeasesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 us-gaap:ScheduleOfOperatingLeasedAssetsTable (terseLabel)Tabledurationus-gaap:ScheduleOfOperatingLeasedAssetsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:PropertyPlantAndEquipmentByTypeAxis (terseLabel)Axisdurationus-gaap:PropertyPlantAndEquipmentByTypeAxis
6 us-gaap:PropertyPlantAndEquipmentTypeDomain (terseLabel)Memberdurationus-gaap:PropertyPlantAndEquipmentTypeDomain
7 us-gaap:BuildingMember (terseLabel)Memberdurationus-gaap:BuildingMember
8 us-gaap:OperatingLeasedAssetsLineItems (terseLabel)LineItemsdurationus-gaap:OperatingLeasedAssetsLineItems
9 us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent
10 us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears (terseLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears
11 us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears (terseLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears
12 us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears (terseLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears
13 us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears (terseLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears
14 us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter (terseLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter
15 us-gaap:OperatingLeasesFutureMinimumPaymentsDue (totalLabel)Concept (Monetary)instantcreditus-gaap:OperatingLeasesFutureMinimumPaymentsDue

Model Structure
Network
101030 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable (terseLabel)Tabledurationmsft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems (terseLabel)LineItemsdurationmsft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems
6 us-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract (terseLabel)Abstractdurationus-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract
7 us-gaap:CapitalLeasesFutureMinimumPaymentsDueCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesFutureMinimumPaymentsDueCurrent
8 us-gaap:CapitalLeasesFutureMinimumPaymentsDueInTwoYears (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesFutureMinimumPaymentsDueInTwoYears
9 us-gaap:CapitalLeasesFutureMinimumPaymentsDueInThreeYears (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesFutureMinimumPaymentsDueInThreeYears
10 us-gaap:CapitalLeasesFutureMinimumPaymentsDueInFourYears (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesFutureMinimumPaymentsDueInFourYears
11 us-gaap:CapitalLeasesFutureMinimumPaymentsDueInFiveYears (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesFutureMinimumPaymentsDueInFiveYears
12 us-gaap:CapitalLeasesFutureMinimumPaymentsDueThereafter (terseLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesFutureMinimumPaymentsDueThereafter
13 us-gaap:CapitalLeasesFutureMinimumPaymentsDue (totalLabel)Concept (Monetary)instantcreditus-gaap:CapitalLeasesFutureMinimumPaymentsDue

Model Structure
Network
101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable (terseLabel)Tabledurationmsft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems (terseLabel)LineItemsdurationmsft:FutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesLineItems
6 us-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract (terseLabel)Abstractdurationus-gaap:CapitalLeasesFutureMinimumPaymentsDueAbstract
7 us-gaap:CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments (terseLabel)Concept (Monetary)instantdebitus-gaap:CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments

Model Structure
Network
101050 - Disclosure - Contingencies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureContingenciesAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Commitments And Contingencies Disclosure [Abstract]Abstractdurationus-gaap:CommitmentsAndContingenciesDisclosureAbstract
2 us-gaap:LossContingenciesTable (terseLabel)Tabledurationus-gaap:LossContingenciesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:LossContingenciesLineItems (terseLabel)LineItemsdurationus-gaap:LossContingenciesLineItems
6 us-gaap:LossContingencyAccrualCarryingValueCurrent (terseLabel)Concept (Monetary)instantcreditus-gaap:LossContingencyAccrualCarryingValueCurrent
7 us-gaap:LossContingencyRangeOfPossibleLossPortionNotAccrued (terseLabel)Concept (Monetary)instantdebitus-gaap:LossContingencyRangeOfPossibleLossPortionNotAccrued

Model Structure
Network
101060 - Disclosure - Shares of Common Stock Outstanding (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSharesOfCommonStockOutstandingDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Equity [Abstract]Abstractdurationus-gaap:EquityAbstract
2 us-gaap:ScheduleOfCapitalUnitsTable (terseLabel)Tabledurationus-gaap:ScheduleOfCapitalUnitsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:CapitalUnitLineItems (terseLabel)LineItemsdurationus-gaap:CapitalUnitLineItems
6 us-gaap:CommonStockSharesOutstanding (periodStartLabel)Concept (Shares)instantus-gaap:CommonStockSharesOutstanding
7 us-gaap:StockIssuedDuringPeriodSharesNewIssues (terseLabel)Concept (Shares)durationus-gaap:StockIssuedDuringPeriodSharesNewIssues
8 us-gaap:StockRepurchasedDuringPeriodShares (negatedLabel)Concept (Shares)durationus-gaap:StockRepurchasedDuringPeriodShares
9 Balance, end of yearConcept (Shares)instantus-gaap:CommonStockSharesOutstanding

Model Structure
Network
101070 - Disclosure - Stockholders' Equity - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Stockholders Equity [Abstract]Abstractdurationus-gaap:StatementOfStockholdersEquityAbstract
2 msft:ShareRepurchasesTable (terseLabel)Tabledurationmsft:ShareRepurchasesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ShareRepurchaseProgramAxis (terseLabel)Axisdurationus-gaap:ShareRepurchaseProgramAxis
6 us-gaap:ShareRepurchaseProgramDomain (terseLabel)Memberdurationus-gaap:ShareRepurchaseProgramDomain
7 msft:ShareRepurchaseProgramTwentyThirteenMember (terseLabel)Memberdurationmsft:ShareRepurchaseProgramTwentyThirteenMember
8 msft:ShareRepurchaseProgramTwentySixteenMember (terseLabel)Memberdurationmsft:ShareRepurchaseProgramTwentySixteenMember
9 msft:ShareRepurchasesLineItems (terseLabel)LineItemsdurationmsft:ShareRepurchasesLineItems
10 us-gaap:StockRepurchaseProgramAuthorizedAmount1 (terseLabel)Concept (Monetary)instantcreditus-gaap:StockRepurchaseProgramAuthorizedAmount1
11 us-gaap:StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1 (terseLabel)Concept (Monetary)instantcreditus-gaap:StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1

Model Structure
Network
101080 - Disclosure - Share Repurchases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureShareRepurchasesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Equity [Abstract]Abstractdurationus-gaap:EquityAbstract
2 msft:ShareRepurchasesTable (terseLabel)Tabledurationmsft:ShareRepurchasesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ShareRepurchaseProgramAxis (terseLabel)Axisdurationus-gaap:ShareRepurchaseProgramAxis
6 us-gaap:ShareRepurchaseProgramDomain (terseLabel)Memberdurationus-gaap:ShareRepurchaseProgramDomain
7 msft:ShareRepurchaseProgramTwentyThirteenMember (terseLabel)Memberdurationmsft:ShareRepurchaseProgramTwentyThirteenMember
8 msft:ShareRepurchaseProgramTwentySixteenMember (terseLabel)Memberdurationmsft:ShareRepurchaseProgramTwentySixteenMember
9 msft:ShareRepurchasesLineItems (terseLabel)LineItemsdurationmsft:ShareRepurchasesLineItems
10 Shares of common stock repurchasedConcept (Shares)durationus-gaap:StockRepurchasedDuringPeriodShares
11 Value of common stock repurchasedConcept (Monetary)durationdebitus-gaap:StockRepurchasedDuringPeriodValue

Model Structure
Network
101090 - Disclosure - Dividends Declared (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDividendsDeclaredDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Equity [Abstract]Abstractdurationus-gaap:EquityAbstract
2 msft:DividendsTable (terseLabel)Tabledurationmsft:DividendsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:DividendsLineItems (terseLabel)LineItemsdurationmsft:DividendsLineItems
6 us-gaap:DividendsPayableDateDeclaredDayMonthAndYear (terseLabel)Concept (Date)durationus-gaap:DividendsPayableDateDeclaredDayMonthAndYear
7 Dividend Per ShareConcept (Per-Share)durationus-gaap:CommonStockDividendsPerShareDeclared
8 us-gaap:DividendsPayableDateOfRecordDayMonthAndYear (terseLabel)Concept (Date)durationus-gaap:DividendsPayableDateOfRecordDayMonthAndYear
9 Total AmountConcept (Monetary)durationdebitus-gaap:DividendsCommonStockCash
10 us-gaap:DividendPayableDateToBePaidDayMonthAndYear (terseLabel)Concept (Date)durationus-gaap:DividendPayableDateToBePaidDayMonthAndYear

Model Structure
Network
101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Income And Comprehensive Income [Abstract]Abstractdurationus-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract
2 us-gaap:AccumulatedOtherComprehensiveIncomeLossTable (terseLabel)Tabledurationus-gaap:AccumulatedOtherComprehensiveIncomeLossTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementEquityComponentsAxis (terseLabel)Axisdurationus-gaap:StatementEquityComponentsAxis
6 us-gaap:EquityComponentDomain (terseLabel)Memberdurationus-gaap:EquityComponentDomain
7 us-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember (terseLabel)Memberdurationus-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember
8 us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember (terseLabel)Memberdurationus-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember
9 msft:AccumulatedTranslationAdjustmentAndOtherMember (terseLabel)Memberdurationmsft:AccumulatedTranslationAdjustmentAndOtherMember
10 us-gaap:AccumulatedOtherComprehensiveIncomeMember (terseLabel)Memberdurationus-gaap:AccumulatedOtherComprehensiveIncomeMember
11 us-gaap:IncomeStatementLocationAxis (terseLabel)Axisdurationus-gaap:IncomeStatementLocationAxis
12 us-gaap:IncomeStatementLocationDomain (terseLabel)Memberdurationus-gaap:IncomeStatementLocationDomain
13 us-gaap:SalesMember (terseLabel)Memberdurationus-gaap:SalesMember
14 us-gaap:NonoperatingIncomeExpenseMember (terseLabel)Memberdurationus-gaap:NonoperatingIncomeExpenseMember
15 us-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems (terseLabel)LineItemsdurationus-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems
16 us-gaap:StockholdersEquity (periodStartLabel)Concept (Monetary)instantcreditus-gaap:StockholdersEquity
17 us-gaap:OciBeforeReclassificationsNetOfTaxAttributableToParent (terseLabel)Concept (Monetary)durationcreditus-gaap:OciBeforeReclassificationsNetOfTaxAttributableToParent
18 us-gaap:ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent (negatedLabel)Concept (Monetary)durationdebitus-gaap:ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent
19 us-gaap:ReclassificationFromAociCurrentPeriodTax (terseLabel)Concept (Monetary)durationcreditus-gaap:ReclassificationFromAociCurrentPeriodTax
20 us-gaap:ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent (negatedTotalLabel)Concept (Monetary)durationdebitus-gaap:ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent
21 Net current period other comprehensive income (loss)Concept (Monetary)durationcreditus-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
22 us-gaap:StockholdersEquity (periodEndLabel)Concept (Monetary)instantcreditus-gaap:StockholdersEquity

Model Structure
Network
101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Statement Of Income And Comprehensive Income [Abstract]Abstractdurationus-gaap:StatementOfIncomeAndComprehensiveIncomeAbstract
2 us-gaap:AccumulatedOtherComprehensiveIncomeLossTable (terseLabel)Tabledurationus-gaap:AccumulatedOtherComprehensiveIncomeLossTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementEquityComponentsAxis (terseLabel)Axisdurationus-gaap:StatementEquityComponentsAxis
6 us-gaap:EquityComponentDomain (terseLabel)Memberdurationus-gaap:EquityComponentDomain
7 us-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember (terseLabel)Memberdurationus-gaap:AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember
8 us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember (terseLabel)Memberdurationus-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember
9 msft:AccumulatedTranslationAdjustmentAndOtherMember (terseLabel)Memberdurationmsft:AccumulatedTranslationAdjustmentAndOtherMember
10 us-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems (terseLabel)LineItemsdurationus-gaap:AccumulatedOtherComprehensiveIncomeLossLineItems
11 us-gaap:OtherComprehensiveIncomeLossBeforeReclassificationsTax (terseLabel)Concept (Monetary)durationdebitus-gaap:OtherComprehensiveIncomeLossBeforeReclassificationsTax
12 us-gaap:OtherComprehensiveIncomeLossTaxPortionAttributableToParent1 (terseLabel)Concept (Monetary)durationdebitus-gaap:OtherComprehensiveIncomeLossTaxPortionAttributableToParent1

Model Structure
Network
101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeeStockAndSavingsPlansAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]Abstractdurationus-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
2 msft:CompensationRelatedCostsDisclosureTable (terseLabel)Tabledurationmsft:CompensationRelatedCostsDisclosureTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:AwardTypeAxis (terseLabel)Axisdurationus-gaap:AwardTypeAxis
6 us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain (terseLabel)Memberdurationus-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain
7 us-gaap:RestrictedStockMember (terseLabel)Memberdurationus-gaap:RestrictedStockMember
8 us-gaap:RestrictedStockUnitsRSUMember (terseLabel)Memberdurationus-gaap:RestrictedStockUnitsRSUMember
9 us-gaap:PerformanceSharesMember (terseLabel)Memberdurationus-gaap:PerformanceSharesMember
10 us-gaap:EmployeeStockMember (terseLabel)Memberdurationus-gaap:EmployeeStockMember
11 us-gaap:RangeAxis (terseLabel)Axisdurationus-gaap:RangeAxis
12 us-gaap:RangeMember (terseLabel)Memberdurationus-gaap:RangeMember
13 us-gaap:MinimumMember (terseLabel)Memberdurationus-gaap:MinimumMember
14 us-gaap:MaximumMember (terseLabel)Memberdurationus-gaap:MaximumMember
15 us-gaap:PlanNameAxis (terseLabel)Axisdurationus-gaap:PlanNameAxis
16 us-gaap:PlanNameDomain (terseLabel)Memberdurationus-gaap:PlanNameDomain
17 msft:ExecutiveIncentivePlanMember (terseLabel)Memberdurationmsft:ExecutiveIncentivePlanMember
18 us-gaap:DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis (terseLabel)Axisdurationus-gaap:DeferredCompensationArrangementWithIndividualPostretirementBenefitsByTypeOfDeferredCompensationAxis
19 us-gaap:OtherPostretirementBenefitsIndividualContractsTypeOfDeferredCompensationDomain (terseLabel)Memberdurationus-gaap:OtherPostretirementBenefitsIndividualContractsTypeOfDeferredCompensationDomain
20 msft:FirstSixPercentOfParticipantContributionsMember (terseLabel)Memberdurationmsft:FirstSixPercentOfParticipantContributionsMember
21 msft:IRSCompensationLimitMember (terseLabel)Memberdurationmsft:IRSCompensationLimitMember
22 msft:CompensationRelatedCostsDisclosureLineItems (terseLabel)LineItemsdurationmsft:CompensationRelatedCostsDisclosureLineItems
23 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant (terseLabel)Concept (Shares)instantus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
24 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1 (terseLabel)Concept (Duration)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
25 us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized (terseLabel)Concept (Monetary)instantdebitus-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
26 us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 (terseLabel)Concept (Duration)durationus-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
27 Weighted average grant-date fair valueConcept (Per-Share)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
28 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue (terseLabel)Concept (Monetary)durationdebitus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
29 us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent (terseLabel)Concept (Percent)durationus-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent
30 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate (terseLabel)Concept (Percent)instantus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate
31 us-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch (terseLabel)Concept (Percent)durationus-gaap:DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
32 us-gaap:DefinedContributionPlanEmployerMatchingContributionPercent (terseLabel)Concept (Percent)durationus-gaap:DefinedContributionPlanEmployerMatchingContributionPercent
33 us-gaap:DefinedContributionPlanCostRecognized (terseLabel)Concept (Monetary)durationdebitus-gaap:DefinedContributionPlanCostRecognized

Model Structure
Network
101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockBasedCompensationExpenseAndRelatedIncomeTaxBenefitsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]Abstractdurationus-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
2 us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable (terseLabel)Tabledurationus-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems (terseLabel)LineItemsdurationus-gaap:EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
6 us-gaap:AllocatedShareBasedCompensationExpense (terseLabel)Concept (Monetary)durationdebitus-gaap:AllocatedShareBasedCompensationExpense
7 us-gaap:EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense (terseLabel)Concept (Monetary)durationcreditus-gaap:EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense

Model Structure
Network
101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAssumptionsUsedInEstimatingFairValueOfStockAwardGrantsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]Abstractdurationus-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
2 msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTable (terseLabel)Tabledurationmsft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:RangeAxis (terseLabel)Axisdurationus-gaap:RangeAxis
6 us-gaap:RangeMember (terseLabel)Memberdurationus-gaap:RangeMember
7 us-gaap:MinimumMember (terseLabel)Memberdurationus-gaap:MinimumMember
8 us-gaap:MaximumMember (terseLabel)Memberdurationus-gaap:MaximumMember
9 msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedLineItems (terseLabel)LineItemsdurationmsft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsMethodUsedLineItems
10 msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendsPerShare (terseLabel)Concept (Per-Share)durationmsft:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendsPerShare
11 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum (terseLabel)Concept (Percent)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
12 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum (terseLabel)Concept (Percent)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum

Model Structure
Network
101150 - Disclosure - Stock Plan Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]Abstractdurationus-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
2 us-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable (terseLabel)Tabledurationus-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:AwardTypeAxis (terseLabel)Axisdurationus-gaap:AwardTypeAxis
6 us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain (terseLabel)Memberdurationus-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain
7 us-gaap:RestrictedStockMember (terseLabel)Memberdurationus-gaap:RestrictedStockMember
8 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems (terseLabel)LineItemsdurationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
9 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward (terseLabel)Abstractdurationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward
10 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber (periodStartLabel)Concept (Shares)instantus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
11 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod (terseLabel)Concept (Shares)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
12 msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedAcquisitionInPeriod (terseLabel)Concept (Shares)durationmsft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedAcquisitionInPeriod
13 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod (negatedLabel)Concept (Shares)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
14 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod (negatedLabel)Concept (Shares)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod
15 Nonvested balance, end of yearConcept (Shares)instantus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber
16 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward (terseLabel)Abstractdurationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward
17 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue (periodStartLabel)Concept (Per-Share)instantus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue
18 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (terseLabel)Concept (Per-Share)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
19 msft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInAcquisitionsWeightedAverageGrantDateFairValue (terseLabel)Concept (Per-Share)durationmsft:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAssumedInAcquisitionsWeightedAverageGrantDateFairValue
20 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue (terseLabel)Concept (Per-Share)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue
21 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue (terseLabel)Concept (Per-Share)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue
22 Nonvested balance, end of yearConcept (Per-Share)instantus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue

Model Structure
Network
101160 - Disclosure - Stock Plan Activity (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]Abstractdurationus-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
2 us-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable (terseLabel)Tabledurationus-gaap:ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:AwardTypeAxis (terseLabel)Axisdurationus-gaap:AwardTypeAxis
6 us-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain (terseLabel)Memberdurationus-gaap:ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain
7 us-gaap:PerformanceSharesMember (terseLabel)Memberdurationus-gaap:PerformanceSharesMember
8 us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems (terseLabel)LineItemsdurationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
9 Nonvested stock awards grantedConcept (Shares)durationus-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod

Model Structure
Network
101170 - Disclosure - Employee Purchased Shares (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeePurchasedSharesDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]Abstractdurationus-gaap:DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract
2 msft:EmployeeStockPurchasePlanTable (terseLabel)Tabledurationmsft:EmployeeStockPurchasePlanTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:EmployeeStockPurchasePlanLineItems (terseLabel)LineItemsdurationmsft:EmployeeStockPurchasePlanLineItems
6 us-gaap:StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans (terseLabel)Concept (Shares)durationus-gaap:StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
7 msft:StockIssuedEmployeeStockPurchasePlanAveragePricePerShare (terseLabel)Concept (Per-Share)durationmsft:StockIssuedEmployeeStockPurchasePlanAveragePricePerShare

Model Structure
Network
101180 - Disclosure - Segment Revenue (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentRevenueDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable (terseLabel)Tabledurationus-gaap:ScheduleOfSegmentReportingInformationBySegmentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ConsolidationItemsAxis (terseLabel)Axisdurationus-gaap:ConsolidationItemsAxis
6 us-gaap:ConsolidationItemsDomain (terseLabel)Memberdurationus-gaap:ConsolidationItemsDomain
7 us-gaap:OperatingSegmentsMember (terseLabel)Memberdurationus-gaap:OperatingSegmentsMember
8 msft:CorporateAndReconcilingItemsMember (terseLabel)Memberdurationmsft:CorporateAndReconcilingItemsMember
9 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
10 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
11 msft:ProductivityAndBusinessProcessesMember (terseLabel)Memberdurationmsft:ProductivityAndBusinessProcessesMember
12 msft:IntelligentCloudMember (terseLabel)Memberdurationmsft:IntelligentCloudMember
13 msft:MorePersonalComputingMember (terseLabel)Memberdurationmsft:MorePersonalComputingMember
14 us-gaap:SegmentReportingInformationLineItems (terseLabel)LineItemsdurationus-gaap:SegmentReportingInformationLineItems
15 us-gaap:SalesRevenueNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet

Model Structure
Network
101190 - Disclosure - Operating Income (Loss) by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOperatingIncomeLossBySegmentDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable (terseLabel)Tabledurationus-gaap:ScheduleOfSegmentReportingInformationBySegmentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ConsolidationItemsAxis (terseLabel)Axisdurationus-gaap:ConsolidationItemsAxis
6 us-gaap:ConsolidationItemsDomain (terseLabel)Memberdurationus-gaap:ConsolidationItemsDomain
7 us-gaap:OperatingSegmentsMember (terseLabel)Memberdurationus-gaap:OperatingSegmentsMember
8 msft:CorporateAndReconcilingItemsMember (terseLabel)Memberdurationmsft:CorporateAndReconcilingItemsMember
9 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
10 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
11 msft:ProductivityAndBusinessProcessesMember (terseLabel)Memberdurationmsft:ProductivityAndBusinessProcessesMember
12 msft:IntelligentCloudMember (terseLabel)Memberdurationmsft:IntelligentCloudMember
13 msft:MorePersonalComputingMember (terseLabel)Memberdurationmsft:MorePersonalComputingMember
14 us-gaap:SegmentReportingInformationLineItems (terseLabel)LineItemsdurationus-gaap:SegmentReportingInformationLineItems
15 us-gaap:OperatingIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:OperatingIncomeLoss

Model Structure
Network
101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCorporateAndOtherOperatingIncomeLossActivityDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable (terseLabel)Tabledurationus-gaap:ReconciliationOfOperatingProfitLossFromSegmentsToConsolidatedTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ConsolidationItemsAxis (terseLabel)Axisdurationus-gaap:ConsolidationItemsAxis
6 us-gaap:ConsolidationItemsDomain (terseLabel)Memberdurationus-gaap:ConsolidationItemsDomain
7 msft:CorporateAndReconcilingItemsMember (terseLabel)Memberdurationmsft:CorporateAndReconcilingItemsMember
8 us-gaap:IncomeStatementLocationAxis (terseLabel)Axisdurationus-gaap:IncomeStatementLocationAxis
9 us-gaap:IncomeStatementLocationDomain (terseLabel)Memberdurationus-gaap:IncomeStatementLocationDomain
10 msft:ImpairmentIntegrationAndRestructuringExpensesMember (terseLabel)Memberdurationmsft:ImpairmentIntegrationAndRestructuringExpensesMember
11 us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel)Axisdurationus-gaap:DeferredRevenueArrangementTypeAxis
12 us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel)Memberdurationus-gaap:DeferredRevenueArrangementTypeDomain
13 Net revenue deferral from Windows 10Memberdurationmsft:WindowsTenDeferralMember
14 us-gaap:SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems (terseLabel)LineItemsdurationus-gaap:SegmentReportingReconcilingItemForOperatingProfitLossFromSegmentToConsolidatedLineItems
15 us-gaap:OperatingIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:OperatingIncomeLoss

Model Structure
Network
101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:ScheduleOfSegmentReportingInformationBySegmentTable (terseLabel)Tabledurationus-gaap:ScheduleOfSegmentReportingInformationBySegmentTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:SegmentReportingInformationLineItems (terseLabel)LineItemsdurationus-gaap:SegmentReportingInformationLineItems
6 us-gaap:SegmentReportingDisclosureOfMajorCustomers (terseLabel)Concept (String)durationus-gaap:SegmentReportingDisclosureOfMajorCustomers

Model Structure
Network
101220 - Disclosure - Revenue Classified by Major Geographic Areas (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedByMajorGeographicAreasDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 msft:GeographicInformationTable (terseLabel)Tabledurationmsft:GeographicInformationTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementGeographicalAxis (terseLabel)Axisdurationus-gaap:StatementGeographicalAxis
6 us-gaap:SegmentGeographicalDomain (terseLabel)Memberdurationus-gaap:SegmentGeographicalDomain
7 country:US (terseLabel)Memberdurationcountry:US
8 us-gaap:NonUsMember (terseLabel)Memberdurationus-gaap:NonUsMember
9 msft:GeographicInformationLineItems (terseLabel)LineItemsdurationmsft:GeographicInformationLineItems
10 RevenuesConcept (Monetary)durationcreditus-gaap:SalesRevenueNet

Model Structure
Network
101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable (terseLabel)Tabledurationus-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:ProductOrServiceAxis (terseLabel)Axisdurationus-gaap:ProductOrServiceAxis
6 us-gaap:ProductsAndServicesDomain (terseLabel)Memberdurationus-gaap:ProductsAndServicesDomain
7 msft:MicrosoftOfficeSystemMember (terseLabel)Memberdurationmsft:MicrosoftOfficeSystemMember
8 msft:ServerProductsAndToolsMember (terseLabel)Memberdurationmsft:ServerProductsAndToolsMember
9 msft:XboxMember (terseLabel)Memberdurationmsft:XboxMember
10 msft:WindowsOperatingSystemsForComputingDevicesMember (terseLabel)Memberdurationmsft:WindowsOperatingSystemsForComputingDevicesMember
11 msft:AdvertisingMember (terseLabel)Memberdurationmsft:AdvertisingMember
12 msft:ConsultingAndProductSupportServicesMember (terseLabel)Memberdurationmsft:ConsultingAndProductSupportServicesMember
13 msft:DevicesMember (terseLabel)Memberdurationmsft:DevicesMember
14 LinkedInMemberdurationmsft:LinkedInCorporationMember
15 msft:OtherProductsAndServicesMember (terseLabel)Memberdurationmsft:OtherProductsAndServicesMember
16 us-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems (terseLabel)LineItemsdurationus-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems
17 us-gaap:SalesRevenueNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet

Model Structure
Network
101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable (terseLabel)Tabledurationus-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:ProductsOrServicesSecondaryCategorizationAxis (terseLabel)Axisdurationmsft:ProductsOrServicesSecondaryCategorizationAxis
6 msft:ProductsOrServicesNameSecondaryCategorizationDomain (terseLabel)Memberdurationmsft:ProductsOrServicesNameSecondaryCategorizationDomain
7 msft:CommercialCloudMember (terseLabel)Memberdurationmsft:CommercialCloudMember
8 us-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems (terseLabel)LineItemsdurationus-gaap:EntityWideInformationRevenueFromExternalCustomerLineItems
9 us-gaap:SalesRevenueNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet

Model Structure
Network
101250 - Disclosure - Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongLivedAssetsExcludingFinancialInstrumentsAndTaxAssetsClassifiedByLocationOfControllingStatutoryCompanyDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Segment Reporting [Abstract]Abstractdurationus-gaap:SegmentReportingAbstract
2 msft:CertainLongLivedAssetsByGeographyTable (terseLabel)Tabledurationmsft:CertainLongLivedAssetsByGeographyTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:StatementGeographicalAxis (terseLabel)Axisdurationus-gaap:StatementGeographicalAxis
6 us-gaap:SegmentGeographicalDomain (terseLabel)Memberdurationus-gaap:SegmentGeographicalDomain
7 country:US (terseLabel)Memberdurationcountry:US
8 country:IE (terseLabel)Memberdurationcountry:IE
9 country:LU (terseLabel)Memberdurationcountry:LU
10 msft:OtherCountriesMember (terseLabel)Memberdurationmsft:OtherCountriesMember
11 msft:CertainLongLivedAssetsByGeographyLineItems (terseLabel)LineItemsdurationmsft:CertainLongLivedAssetsByGeographyLineItems
12 us-gaap:NoncurrentAssets (terseLabel)Concept (Monetary)instantdebitus-gaap:NoncurrentAssets

Model Structure
Network
101260 - Disclosure - Quarterly Information (Unaudited) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Quarterly Financial Information Disclosure [Abstract]Abstractdurationus-gaap:QuarterlyFinancialInformationDisclosureAbstract
2 msft:QuarterlyFinancialInformationTable (terseLabel)Tabledurationmsft:QuarterlyFinancialInformationTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 msft:QuarterlyFinancialInformationLineItems (terseLabel)LineItemsdurationmsft:QuarterlyFinancialInformationLineItems
6 us-gaap:SalesRevenueNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet
7 Gross marginConcept (Monetary)durationcreditus-gaap:GrossProfit
8 Operating incomeConcept (Monetary)durationcreditus-gaap:OperatingIncomeLoss
9 us-gaap:NetIncomeLoss (terseLabel)Concept (Monetary)durationcreditus-gaap:NetIncomeLoss
10 Basic earnings per shareConcept (Per-Share)durationus-gaap:EarningsPerShareBasic
11 Diluted earnings per shareConcept (Per-Share)durationus-gaap:EarningsPerShareDiluted

Model Structure
Network
101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedParentheticalDetail)
Table(implied)
#LabelReport Element ClassPeriod TypeBalanceName
1Quarterly Financial Information Disclosure [Abstract]Abstractdurationus-gaap:QuarterlyFinancialInformationDisclosureAbstract
2 msft:QuarterlyFinancialInformationTable (terseLabel)Tabledurationmsft:QuarterlyFinancialInformationTable
3 dei:LegalEntityAxis (terseLabel)Axisdurationdei:LegalEntityAxis
4 dei:EntityDomain (terseLabel)Memberdurationdei:EntityDomain
5 us-gaap:DeferredRevenueArrangementTypeAxis (terseLabel)Axisdurationus-gaap:DeferredRevenueArrangementTypeAxis
6 us-gaap:DeferredRevenueArrangementTypeDomain (terseLabel)Memberdurationus-gaap:DeferredRevenueArrangementTypeDomain
7 msft:WindowsTenDeferralMember (terseLabel)Memberdurationmsft:WindowsTenDeferralMember
8 us-gaap:RestructuringPlanAxis (terseLabel)Axisdurationus-gaap:RestructuringPlanAxis
9 us-gaap:RestructuringPlanDomain (terseLabel)Memberdurationus-gaap:RestructuringPlanDomain
10 msft:SalesAndMarketingRestructuringPlanMember (terseLabel)Memberdurationmsft:SalesAndMarketingRestructuringPlanMember
11 2016 Restructuring PlansMemberdurationmsft:TwentySixteenRestructuringPlanMember
12 us-gaap:RestructuringCostAndReserveAxis (terseLabel)Axisdurationus-gaap:RestructuringCostAndReserveAxis
13 us-gaap:TypeOfRestructuringDomain (terseLabel)Memberdurationus-gaap:TypeOfRestructuringDomain
14 us-gaap:EmployeeSeveranceMember (terseLabel)Memberdurationus-gaap:EmployeeSeveranceMember
15 us-gaap:StatementBusinessSegmentsAxis (terseLabel)Axisdurationus-gaap:StatementBusinessSegmentsAxis
16 us-gaap:SegmentDomain (terseLabel)Memberdurationus-gaap:SegmentDomain
17 msft:PhoneBusinessMember (terseLabel)Memberdurationmsft:PhoneBusinessMember
18 msft:QuarterlyFinancialInformationLineItems (terseLabel)LineItemsdurationmsft:QuarterlyFinancialInformationLineItems
19 us-gaap:SalesRevenueNet (terseLabel)Concept (Monetary)durationcreditus-gaap:SalesRevenueNet
20 us-gaap:RestructuringCharges (terseLabel)Concept (Monetary)durationdebitus-gaap:RestructuringCharges
21 msft:ImpairmentIntegrationAndRestructuringEffectOnOperatingIncomeLossAfterTax (terseLabel)Concept (Monetary)durationcreditmsft:ImpairmentIntegrationAndRestructuringEffectOnOperatingIncomeLossAfterTax
22 msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsAfterTax (terseLabel)Concept (Monetary)durationcreditmsft:ImpairmentIntegrationAndRestructuringEffectOnEarningsAfterTax
23 msft:ImpairmentIntegrationAndRestructuringEffectOnEarningsPerShareAfterTax (terseLabel)Concept (Per-Share)durationmsft:ImpairmentIntegrationAndRestructuringEffectOnEarningsPerShareAfterTax
24 Asset impairment chargesConcept (Monetary)durationdebitus-gaap:AssetImpairmentCharges

 

Fact Tables

The colours used for the fact values are significant, and have the following meanings:


Fact Table
Network
100000 - Document - Document and Entity Information
(http://www.microsoft.com/20170630/taxonomy/role/DocumentDocumentAndEntityInformation)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Amendment Flagfalse
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Current Fiscal Year End Date--06-30
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Document Fiscal Period FocusFY
40000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Document Fiscal Year Focus2017
50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Document Period End Date2017-06-30
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Document Type10-K
70000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Central Index Key0000789019
80000789019 (http://www.sec.gov/CIK)2017-07-31Entity [Domain]Entity Common Stock Shares Outstanding7702243979sharesINF
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Current Reporting StatusYes
100000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Filer CategoryLarge Accelerated Filer
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Listing Par Value Per Share6.25e-6iso4217:USD/sharesINF
120000789019 (http://www.sec.gov/CIK)2016-12-31Entity [Domain]Entity Public Float466500000000iso4217:USD-8
130000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Registrant NameMICROSOFT CORPORATION
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Tax Identification Number911144442
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Voluntary FilersNo
160000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Entity Well Known Seasoned IssuerYes
170000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Entity [Domain]Trading SymbolMSFT

Fact Table
Network
100010 - Statement - INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100020 - Statement - COMPREHENSIVE INCOME STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100030 - Statement - COMPREHENSIVE INCOME STATEMENTS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTSParenthetical)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100040 - Statement - BALANCE SHEETS
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100050 - Statement - BALANCE SHEETS (Parenthetical)
(http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETSParenthetical)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100060 - Statement - CASH FLOWS STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100070 - Statement - STOCKHOLDERS' EQUITY STATEMENTS
(http://www.microsoft.com/20170630/taxonomy/role/StatementSTOCKHOLDERSEQUITYSTATEMENTS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Common Stock Including Additional Paid In Capital [Member]Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net588000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Common Stock Including Additional Paid In Capital [Member]Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net0iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Common Stock Including Additional Paid In Capital [Member]Adjustment To Additional Paid In Capital Income Tax Effect From Share Based Compensation Net0iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Common Stock Including Additional Paid In Capital [Member]Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value2574000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Common Stock Including Additional Paid In Capital [Member]Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value2668000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Common Stock Including Additional Paid In Capital [Member]Adjustments To Additional Paid In Capital Sharebased Compensation Requisite Service Period Recognition Value3266000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)2868000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)2842000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)2821000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)2800000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)3024000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)3012000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)3009000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Equity Component [Domain]us-gaap:DividendsCommonStockCash (label)3006000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Retained Earnings [Member]us-gaap:DividendsCommonStockCash (label)10063000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Retained Earnings [Member]us-gaap:DividendsCommonStockCash (label)11329000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Retained Earnings [Member]us-gaap:DividendsCommonStockCash (label)12040000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Component [Domain]us-gaap:NetIncomeLoss (label)12193000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Equity Component [Domain]us-gaap:NetIncomeLoss (label)4902000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Component [Domain]us-gaap:NetIncomeLoss (label)16798000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Equity Component [Domain]us-gaap:NetIncomeLoss (label)5018000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Equity Component [Domain]us-gaap:NetIncomeLoss (label)3756000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Equity Component [Domain]us-gaap:NetIncomeLoss (label)3122000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Equity Component [Domain]us-gaap:NetIncomeLoss (label)4690000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Component [Domain]us-gaap:NetIncomeLoss (label)21204000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Equity Component [Domain]us-gaap:NetIncomeLoss (label)5200000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Equity Component [Domain]us-gaap:NetIncomeLoss (label)4801000000iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Equity Component [Domain]us-gaap:NetIncomeLoss (label)6513000000iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Retained Earnings [Member]us-gaap:NetIncomeLoss (label)12193000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Retained Earnings [Member]us-gaap:NetIncomeLoss (label)16798000000iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Retained Earnings [Member]us-gaap:NetIncomeLoss (label)21204000000iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Component [Domain]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1186000000iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Component [Domain]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-985000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Component [Domain]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1106000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Other Comprehensive Income [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1186000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Other Comprehensive Income [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-985000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Other Comprehensive Income [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1106000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues634000000iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues668000000iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Common Stock Including Additional Paid In Capital [Member]Stock Issued During Period Value New Issues772000000iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Component [Domain]us-gaap:StockRepurchasedDuringPeriodValue (label)13209000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Component [Domain]us-gaap:StockRepurchasedDuringPeriodValue (label)14800000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Component [Domain]us-gaap:StockRepurchasedDuringPeriodValue (label)10283000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Common Stock Including Additional Paid In Capital [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)3700000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Common Stock Including Additional Paid In Capital [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)3689000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Common Stock Including Additional Paid In Capital [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)2987000000iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Retained Earnings [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)10744000000iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Retained Earnings [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)12283000000iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Retained Earnings [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)8798000000iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2015-06-30Equity Component [Domain]us-gaap:StockholdersEquity (label)80083000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Equity Component [Domain]us-gaap:StockholdersEquity (label)71997000000iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Equity Component [Domain]us-gaap:StockholdersEquity (label)72394000000iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2014-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)3708000000iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2015-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)2522000000iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2016-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)1537000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2017-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)431000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2014-06-30Common Stock Including Additional Paid In Capital [Member]us-gaap:StockholdersEquity (label)68366000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2015-06-30Common Stock Including Additional Paid In Capital [Member]us-gaap:StockholdersEquity (label)68465000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2016-06-30Common Stock Including Additional Paid In Capital [Member]us-gaap:StockholdersEquity (label)68178000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2017-06-30Common Stock Including Additional Paid In Capital [Member]us-gaap:StockholdersEquity (label)69315000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2014-06-30Retained Earnings [Member]us-gaap:StockholdersEquity (label)17710000000iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2015-06-30Retained Earnings [Member]us-gaap:StockholdersEquity (label)9096000000iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2016-06-30Retained Earnings [Member]us-gaap:StockholdersEquity (label)2282000000iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Retained Earnings [Member]us-gaap:StockholdersEquity (label)2648000000iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-3000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-66000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Common Stock Including Additional Paid In Capital [Member]Stockholders Equity Other-86000000iso4217:USD-6

Fact Table
Network
100080 - Disclosure - ACCOUNTING POLICIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIES)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100090 - Disclosure - EARNINGS PER SHARE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARE)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100100 - Disclosure - OTHER INCOME (EXPENSE), NET
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENET)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100110 - Disclosure - INVESTMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100120 - Disclosure - DERIVATIVES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVES)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100130 - Disclosure - FAIR VALUE MEASUREMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100140 - Disclosure - INVENTORIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIES)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100150 - Disclosure - PROPERTY AND EQUIPMENT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENT)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100160 - Disclosure - BUSINESS COMBINATIONS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100170 - Disclosure - GOODWILL
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILL)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100180 - Disclosure - INTANGIBLE ASSETS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100190 - Disclosure - DEBT
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBT)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100200 - Disclosure - INCOME TAXES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXES)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100210 - Disclosure - RESTRUCTURING CHARGES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGES)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100220 - Disclosure - UNEARNED REVENUE
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUE)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100230 - Disclosure - COMMITMENTS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100240 - Disclosure - CONTINGENCIES
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCONTINGENCIES)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100250 - Disclosure - STOCKHOLDERS' EQUITY
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITY)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100260 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOME)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100270 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANS)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100280 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATA)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100290 - Disclosure - QUARTERLY INFORMATION (UNAUDITED)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITED)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100300 - Disclosure - ACCOUNTING POLICIES (Policies)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESPolicies)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100310 - Disclosure - ACCOUNTING POLICIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCOUNTINGPOLICIESTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100320 - Disclosure - EARNINGS PER SHARE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEARNINGSPERSHARETables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100330 - Disclosure - OTHER INCOME (EXPENSE), NET (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOTHERINCOMEEXPENSENETTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100340 - Disclosure - INVESTMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVESTMENTSTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100350 - Disclosure - DERIVATIVES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDERIVATIVESTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Cash Flow Hedging [Member]Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]

We recognized the following gains (losses) on foreign exchange contracts designated as cash flow hedges:

 

(In millions)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Year Ended June 30,

 

2017

 

 

2016

 

 

2015

 

 

 

 

 

Effective Portion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Gains recognized in other comprehensive income (net of tax effects of $4, $24 and $35)

 

$

328

 

 

$

351

 

 

$

  1,152

 

Gains reclassified from accumulated other comprehensive income into revenue

 

 

555

 

 

 

625

 

 

 

608

 

 

 

 

 

Amount Excluded from Effectiveness Assessment and Ineffective Portion

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Losses recognized in other income (expense), net

 

 

  (389

)

 

 

  (354

)

 

 

  (346

)

 

 

 

20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Fair Value Hedging [Member]Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]

We recognized in other income (expense), net the following gains (losses) on contracts designated as fair value hedges and their related hedged items:

 

(In millions)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Year Ended June 30,

 

2017

 

 

2016

 

 

2015

 

 

 

 

 

Foreign Exchange Contracts

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Derivatives

 

$

  441

 

 

$

  (797

)

 

$

741

 

Hedged items

 

 

  (386

)

 

 

838

 

 

 

  (725

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total amount of ineffectiveness

 

$

55

 

 

$

41

 

 

$

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Equity Contracts

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Derivatives

 

$

(74

)

 

$

(76

)

 

$

(107

)

Hedged items

 

 

74

 

 

 

76

 

 

 

107

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total amount of ineffectiveness

 

$

0

 

 

$

0

 

 

$

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Amount of equity contracts excluded from effectiveness assessment

 

$

  (80

)

 

$

  (10

)

 

$

  0

 

 

 

 

 

 

 

 

 

 

 

 

30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Nondesignated [Member]Schedule Of Derivative Instruments Gain Loss In Statement Of Financial Performance [Text Block]

Gains (losses) from changes in fair values of derivatives that are not designated as hedges are primarily recognized in other income (expense), net. These amounts are shown in the table below, with the exception of gains (losses) on derivatives presented in income statement line items other than other income (expense), net, which were immaterial for the periods presented. Other than those derivatives entered into for investment purposes, such as commodity contracts, the gains (losses) below are generally economically offset by unrealized gains (losses) in the underlying available-for-sale securities and gains (losses) from foreign exchange rate changes on certain balance sheet amounts.

 

(In millions)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Year Ended June 30,

 

2017

 

 

2016

 

 

2015

 

 

 

 

 

Foreign exchange contracts

 

$

(117

)

 

$

(55

)

 

$

(483

)

Equity contracts

 

 

(114

)

 

 

(21

)

 

 

(19

)

Interest-rate contracts

 

 

14

 

 

 

10

 

 

 

23

 

Credit contracts

 

 

5

 

 

 

(1

)

 

 

(1

)

Commodity contracts

 

 

(22

)

 

 

(87

)

 

 

(223

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total

 

$

  (234

)

 

$

  (154

)

 

$

  (703

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

40000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Hedging Relationship [Domain]Schedule Of Derivative Instruments In Statement Of Financial Position Fair Value [Text Block]

The following table presents the fair values of derivative instruments designated as hedging instruments (“designated hedge derivatives”) and not designated as hedging instruments (“non-designated hedge derivatives”). The fair values exclude the impact of netting derivative assets and liabilities when a legally enforceable master netting agreement exists and fair value adjustments related to our own credit risk and counterparty credit risk:

 

 

 

June 30, 2017

 

 

June 30, 2016

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Assets

 

 

Liabilities

 

 

Assets

 

Liabilities

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(In millions)

 

Short-term
Investments

 

Other
Current
Assets

 

Equity and
Other
Investments

 

Other

Long-term Assets

 

Other
Current
Liabilities

 

Other

Long-term Liabilities

 

Short-term
Investments

 

Other
Current
Assets

 

Equity and
Other
Investments

 

Other
Current
Liabilities

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Non-designated Hedge Derivatives

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Foreign exchange contracts

 

$

9

 

 

$

203

 

 

$

0

 

 

$

6

 

 

$

(134

)

 

$

(8

)

 

$

33

 

 

$

156

 

 

$

0

 

 

$

  (296

)

Equity contracts

 

 

3

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(6

)

 

 

0

 

 

 

23

 

 

 

0

 

 

 

0

 

 

 

(16

)

Interest rate contracts

 

 

3

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(7

)

 

 

0

 

 

 

10

 

 

 

0

 

 

 

0

 

 

 

(25

)

Credit contracts

 

 

5

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(1

)

 

 

0

 

 

 

6

 

 

 

0

 

 

 

0

 

 

 

(5

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total

 

$

20

 

 

$

203

 

 

$

0

 

 

$

6

 

 

$

(148

)

 

$

(8

)

 

$

72

 

 

$

156

 

 

$

0

 

 

$

(342

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Designated Hedge Derivatives

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Foreign exchange contracts

 

$

80

 

 

$

133

 

 

$

0

 

 

$

0

 

 

$

(3

)

 

$

0

 

 

$

1

 

 

$

392

 

 

$

0

 

 

$

(263

)

Equity contracts

 

 

0

 

 

 

0

 

 

 

67

 

 

 

0

 

 

 

(186

)

 

 

0

 

 

 

0

 

 

 

0

 

 

 

18

 

 

 

(25

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total

 

$

80

 

 

$

133

 

 

$

67

 

 

$

0

 

 

$

(189

)

 

$

0

 

 

$

1

 

 

$

392

 

 

$

18

 

 

$

(288

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total gross amounts of derivatives

 

$

100

 

 

$

336

 

 

$

67

 

 

$

6

 

 

$

(337

)

 

$

(8

)

 

$

73

 

 

$

548

 

 

$

18

 

 

$

(630

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Gross derivatives either offset or subject to an enforceable master netting agreement

 

$

100

 

 

$

336

 

 

$

67

 

 

$

6

 

 

$

(334

)

 

$

  (8

)

 

$

69

 

 

$

548

 

 

$

18

 

 

$

  (630

)

Gross amounts of derivatives offset on the balance sheet

 

 

  (20

)

 

 

  (132

)

 

 

  (67

)

 

 

  (8

)

 

 

221

 

 

 

7

 

 

 

  (74

)

 

 

 (302

)

 

 

  (25

)

 

 

398

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net amounts presented on the balance sheet

 

 

80

 

 

 

204

 

 

 

0

 

 

 

  (2

)

 

 

(113

)

 

 

(1

)

 

 

(5

)

 

 

246

 

 

 

(7

)

 

 

(232

)

Gross amounts of derivatives not offset on the balance sheet

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

Cash collateral received

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(228

)

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(250

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net amount

 

$

80

 

 

$

204

 

 

$

0

 

 

$

  (2

)

 

$

  (341

)

 

$

(1

)

 

$

(5

)

 

$

246

 

 

$

(7

)

 

$

(482

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Hedging Designation [Domain]Schedule Of Derivative Instruments In Statement Of Financial Position Fair Value [Text Block]

The following table presents the fair values of derivative instruments designated as hedging instruments (“designated hedge derivatives”) and not designated as hedging instruments (“non-designated hedge derivatives”). The fair values exclude the impact of netting derivative assets and liabilities when a legally enforceable master netting agreement exists and fair value adjustments related to our own credit risk and counterparty credit risk:

 

 

 

June 30, 2017

 

 

June 30, 2016

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Assets

 

 

Liabilities

 

 

Assets

 

Liabilities

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(In millions)

 

Short-term
Investments

 

Other
Current
Assets

 

Equity and
Other
Investments

 

Other

Long-term Assets

 

Other
Current
Liabilities

 

Other

Long-term Liabilities

 

Short-term
Investments

 

Other
Current
Assets

 

Equity and
Other
Investments

 

Other
Current
Liabilities

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Non-designated Hedge Derivatives

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Foreign exchange contracts

 

$

9

 

 

$

203

 

 

$

0

 

 

$

6

 

 

$

(134

)

 

$

(8

)

 

$

33

 

 

$

156

 

 

$

0

 

 

$

  (296

)

Equity contracts

 

 

3

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(6

)

 

 

0

 

 

 

23

 

 

 

0

 

 

 

0

 

 

 

(16

)

Interest rate contracts

 

 

3

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(7

)

 

 

0

 

 

 

10

 

 

 

0

 

 

 

0

 

 

 

(25

)

Credit contracts

 

 

5

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(1

)

 

 

0

 

 

 

6

 

 

 

0

 

 

 

0

 

 

 

(5

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total

 

$

20

 

 

$

203

 

 

$

0

 

 

$

6

 

 

$

(148

)

 

$

(8

)

 

$

72

 

 

$

156

 

 

$

0

 

 

$

(342

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Designated Hedge Derivatives

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Foreign exchange contracts

 

$

80

 

 

$

133

 

 

$

0

 

 

$

0

 

 

$

(3

)

 

$

0

 

 

$

1

 

 

$

392

 

 

$

0

 

 

$

(263

)

Equity contracts

 

 

0

 

 

 

0

 

 

 

67

 

 

 

0

 

 

 

(186

)

 

 

0

 

 

 

0

 

 

 

0

 

 

 

18

 

 

 

(25

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total

 

$

80

 

 

$

133

 

 

$

67

 

 

$

0

 

 

$

(189

)

 

$

0

 

 

$

1

 

 

$

392

 

 

$

18

 

 

$

(288

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total gross amounts of derivatives

 

$

100

 

 

$

336

 

 

$

67

 

 

$

6

 

 

$

(337

)

 

$

(8

)

 

$

73

 

 

$

548

 

 

$

18

 

 

$

(630

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Gross derivatives either offset or subject to an enforceable master netting agreement

 

$

100

 

 

$

336

 

 

$

67

 

 

$

6

 

 

$

(334

)

 

$

  (8

)

 

$

69

 

 

$

548

 

 

$

18

 

 

$

  (630

)

Gross amounts of derivatives offset on the balance sheet

 

 

  (20

)

 

 

  (132

)

 

 

  (67

)

 

 

  (8

)

 

 

221

 

 

 

7

 

 

 

  (74

)

 

 

 (302

)

 

 

  (25

)

 

 

398

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net amounts presented on the balance sheet

 

 

80

 

 

 

204

 

 

 

0

 

 

 

  (2

)

 

 

(113

)

 

 

(1

)

 

 

(5

)

 

 

246

 

 

 

(7

)

 

 

(232

)

Gross amounts of derivatives not offset on the balance sheet

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

Cash collateral received

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(228

)

 

 

0

 

 

 

0

 

 

 

0

 

 

 

0

 

 

 

(250

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Net amount

 

$

80

 

 

$

204

 

 

$

0

 

 

$

  (2

)

 

$

  (341

)

 

$

(1

)

 

$

(5

)

 

$

246

 

 

$

(7

)

 

$

(482

)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Fact Table
Network
100360 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100370 - Disclosure - INVENTORIES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINVENTORIESTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100380 - Disclosure - PROPERTY AND EQUIPMENT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePROPERTYANDEQUIPMENTTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100390 - Disclosure - BUSINESS COMBINATIONS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBUSINESSCOMBINATIONSTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Revenue And Operating Loss Attributable To Acquiree Since Acquisition Date Table [Text Block]

Our consolidated income statement includes the following revenue and operating loss attributable to LinkedIn since the date of acquisition:

 

(In millions)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Year Ended June 30,

 

 

 

2017

 

 

 

 

 

 

 

Revenue

 

 

$

  2,268

 

Operating loss

 

 

$

(948

)

 

 

 

 

 

 

20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Business Acquisition Pro Forma Information [Text Block]

Following are the supplemental consolidated financial results of Microsoft Corporation on an unaudited pro forma basis, as if the acquisition had been consummated on July 1, 2015:

 

(In millions, except earnings per share)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Year Ended June 30,

 

 

2017

 

 

 

2016

 

 

 

 

 

 

 

 

 

 

Revenue

 

$

  91,668

 

 

$

  88,652

 

Net income

 

 

20,894

 

 

 

15,383

 

Diluted earnings per share

 

 

2.67

 

 

 

1.92

 

 

 

 

 

 

 

 

 

 

 

30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Business Acquisition Acquiree [Domain]Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block]

The components of intangible assets acquired during the periods presented were as follows:

 

(In millions)

 

Amount

 

 

Weighted

Average Life

 

 

Amount

 

 

Weighted

Average Life

 

 

 

 

 

 

 

 

 

Year Ended June 30,

 

2017

 

 

 

 

 

2016

 

 

 

 

 

 

 

 

 

Customer-related

 

$

3,607

 

 

 

7 years

 

 

$

30

 

 

 

3 years

 

Technology-based

 

 

2,265

 

 

 

2 years

 

 

 

361

 

 

 

4 years

 

Marketing-related

 

 

2,148

 

 

 

19 years

 

 

 

2

 

 

 

1 year

 

Contract-based

 

 

63

 

 

 

6 years

 

 

 

0

 

 

 

n/a

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Total

 

$

  8,083

 

 

 

9 years

 

 

$

  393

 

 

 

4 years

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

40000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Schedule Of Acquired Finite Lived Intangible Assets By Major Class [Text Block]

Following are the details of the purchase price allocated to the intangible assets acquired:

 

(In millions)

 

Amount

 

 

Weighted

Average Life

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Customer-related

 

$

  3,607

 

 

 

7 years

 

Marketing-related (trade names)

 

 

2,148

 

 

 

20 years

 

Technology-based

 

 

2,109

 

 

 

3 years

 

Contract-based

 

 

23

 

 

 

5 years

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fair value of intangible assets acquired

 

$

7,887

 

 

 

9 years

 

 

 

 

 

 

 

 

 

 

50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Schedule Of Business Acquisitions By Acquisition [Text Block]

The major classes of assets and liabilities to which we allocated the purchase price were as follows:  

 

(In millions)

 

 

 

 

 

 

 

 

 

Cash and cash equivalents

 

$

1,328

 

Short-term investments

 

 

2,110

 

Other current assets

 

 

697

 

Property and equipment

 

 

1,529

 

Intangible assets

 

 

7,887

 

Goodwill (a)

 

 

 

16,803

 

Short-term debt (b)

 

 

 

(1,323

)

Other current liabilities

 

 

(1,117

)

Deferred income taxes

 

 

(774

)

Other

 

 

(131

)

 

 

 

 

 

 

 

 

 

 

Total purchase price

 

$

  27,009

 

 

 

 

 

 

(a)

Goodwill was assigned to our Productivity and Business Processes segment. The goodwill was primarily attributed to increased synergies that are expected to be achieved from the integration of LinkedIn. None of the goodwill is expected to be deductible for income tax purposes.

(b)

Convertible senior notes issued by LinkedIn on November 12, 2014, substantially all of which were redeemed after our acquisition of LinkedIn. The remaining $18 million of notes are not redeemable and are included in long-term debt on our consolidated balance sheets. See Note 12 – Debt for further information.


Fact Table
Network
100400 - Disclosure - GOODWILL (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGOODWILLTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100410 - Disclosure - INTANGIBLE ASSETS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINTANGIBLEASSETSTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100420 - Disclosure - DEBT (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDEBTTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100430 - Disclosure - INCOME TAXES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureINCOMETAXESTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100440 - Disclosure - RESTRUCTURING CHARGES (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRESTRUCTURINGCHARGESTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100450 - Disclosure - UNEARNED REVENUE (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUNEARNEDREVENUETables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100460 - Disclosure - COMMITMENTS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCOMMITMENTSTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100470 - Disclosure - STOCKHOLDERS' EQUITY (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100480 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureACCUMULATEDOTHERCOMPREHENSIVEINCOMETables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100490 - Disclosure - EMPLOYEE STOCK AND SAVINGS PLANS (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEMPLOYEESTOCKANDSAVINGSPLANSTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100500 - Disclosure - SEGMENT INFORMATION AND GEOGRAPHIC DATA (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSEGMENTINFORMATIONANDGEOGRAPHICDATATables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100510 - Disclosure - QUARTERLY INFORMATION (UNAUDITED) (Tables)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQUARTERLYINFORMATIONUNAUDITEDTables)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100520 - Disclosure - Accounting Policies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAccountingPoliciesAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Accounts Receivable Net And Other Assets4200000000iso4217:USD-8
20000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Accounts Receivable Net And Other Assets4200000000iso4217:USD-8
30000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Accounts Receivable Net And Other Assets2700000000iso4217:USD-8
40000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Accounts Receivable Net And Other Assets2700000000iso4217:USD-8
50000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Liabilities5200000000iso4217:USD-8
60000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Liabilities5200000000iso4217:USD-8
70000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Liabilities6600000000iso4217:USD-8
80000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Liabilities6600000000iso4217:USD-8
90000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Right Of Use Assets5200000000iso4217:USD-8
100000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Right Of Use Assets5200000000iso4217:USD-8
110000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Right Of Use Assets6600000000iso4217:USD-8
120000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Right Of Use Assets6600000000iso4217:USD-8
130000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:WindowsTenDeferralMember (label)Revenue Recognition Period_2458082
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Revenue Recognition Period_2458684
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:WindowsTenDeferralMember (label)Revenue Recognition Period_2459288
160000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Revenue Recognition Period_2459890
170000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Type Of Adoption [Member]Advertising Expense1900000000iso4217:USD-8
180000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Deferred Revenue Arrangement Type [Domain]Advertising Expense1900000000iso4217:USD-8
190000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Property Plant And Equipment Type [Domain]Advertising Expense1900000000iso4217:USD-8
200000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Range [Member]Advertising Expense1900000000iso4217:USD-8
210000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Scenario Unspecified [Domain]Advertising Expense1900000000iso4217:USD-8
220000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Type Of Adoption [Member]Advertising Expense1600000000iso4217:USD-8
230000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Deferred Revenue Arrangement Type [Domain]Advertising Expense1600000000iso4217:USD-8
240000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Property Plant And Equipment Type [Domain]Advertising Expense1600000000iso4217:USD-8
250000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Range [Member]Advertising Expense1600000000iso4217:USD-8
260000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Unspecified [Domain]Advertising Expense1600000000iso4217:USD-8
270000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Type Of Adoption [Member]Advertising Expense1500000000iso4217:USD-8
280000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Deferred Revenue Arrangement Type [Domain]Advertising Expense1500000000iso4217:USD-8
290000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Property Plant And Equipment Type [Domain]Advertising Expense1500000000iso4217:USD-8
300000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Range [Member]Advertising Expense1500000000iso4217:USD-8
310000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Unspecified [Domain]Advertising Expense1500000000iso4217:USD-8
320000789019 (http://www.sec.gov/CIK)2016-06-30Type Of Adoption [Member]Deferred Revenue33909000000iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Deferred Revenue Arrangement Type [Domain]Deferred Revenue33909000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2016-06-30Property Plant And Equipment Type [Domain]Deferred Revenue33909000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2016-06-30Range [Member]Deferred Revenue33909000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Unspecified [Domain]Deferred Revenue33909000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2017-06-30Type Of Adoption [Member]Deferred Revenue44479000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Deferred Revenue Arrangement Type [Domain]Deferred Revenue44479000000iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2017-06-30Property Plant And Equipment Type [Domain]Deferred Revenue44479000000iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Range [Member]Deferred Revenue44479000000iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Unspecified [Domain]Deferred Revenue44479000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Revenue-11716000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Revenue-11716000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Revenue-17823000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Revenue-17823000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Revenue0iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Revenue0iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Revenue0iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Revenue0iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Revenue22193000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Revenue26656000000iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2016-06-30Type Of Adoption [Member]Deferred Tax Liabilities Noncurrent1476000000iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Deferred Revenue Arrangement Type [Domain]Deferred Tax Liabilities Noncurrent1476000000iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2016-06-30Property Plant And Equipment Type [Domain]Deferred Tax Liabilities Noncurrent1476000000iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2016-06-30Range [Member]Deferred Tax Liabilities Noncurrent1476000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent1476000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2017-06-30Type Of Adoption [Member]Deferred Tax Liabilities Noncurrent531000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Deferred Revenue Arrangement Type [Domain]Deferred Tax Liabilities Noncurrent531000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2017-06-30Property Plant And Equipment Type [Domain]Deferred Tax Liabilities Noncurrent531000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2017-06-30Range [Member]Deferred Tax Liabilities Noncurrent531000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Unspecified [Domain]Deferred Tax Liabilities Noncurrent531000000iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Tax Liabilities Noncurrent4837000000iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent4837000000iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Tax Liabilities Noncurrent5203000000iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5203000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Tax Liabilities Noncurrent0iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Tax Liabilities Noncurrent0iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent6313000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5734000000iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Finite Lived Intangible Asset Useful Life_2491946
730000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Finite Lived Intangible Asset Useful Life_2492548
740000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Type Of Adoption [Member]us-gaap:IncomeTaxExpenseBenefit (label)6314000000iso4217:USD-6
750000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:IncomeTaxExpenseBenefit (label)6314000000iso4217:USD-6
760000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Property Plant And Equipment Type [Domain]us-gaap:IncomeTaxExpenseBenefit (label)6314000000iso4217:USD-6
770000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Range [Member]us-gaap:IncomeTaxExpenseBenefit (label)6314000000iso4217:USD-6
780000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Scenario Unspecified [Domain]us-gaap:IncomeTaxExpenseBenefit (label)6314000000iso4217:USD-6
790000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Type Of Adoption [Member]us-gaap:IncomeTaxExpenseBenefit (label)2953000000iso4217:USD-6
800000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:IncomeTaxExpenseBenefit (label)2953000000iso4217:USD-6
810000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Property Plant And Equipment Type [Domain]us-gaap:IncomeTaxExpenseBenefit (label)2953000000iso4217:USD-6
820000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Range [Member]us-gaap:IncomeTaxExpenseBenefit (label)2953000000iso4217:USD-6
830000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Unspecified [Domain]us-gaap:IncomeTaxExpenseBenefit (label)2953000000iso4217:USD-6
840000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Type Of Adoption [Member]us-gaap:IncomeTaxExpenseBenefit (label)1945000000iso4217:USD-6
850000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:IncomeTaxExpenseBenefit (label)1945000000iso4217:USD-6
860000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Property Plant And Equipment Type [Domain]us-gaap:IncomeTaxExpenseBenefit (label)1945000000iso4217:USD-6
870000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Range [Member]us-gaap:IncomeTaxExpenseBenefit (label)1945000000iso4217:USD-6
880000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Unspecified [Domain]us-gaap:IncomeTaxExpenseBenefit (label)1945000000iso4217:USD-6
890000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:IncomeTaxExpenseBenefit (label)2147000000iso4217:USD-6
900000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)2147000000iso4217:USD-6
910000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:IncomeTaxExpenseBenefit (label)2467000000iso4217:USD-6
920000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)2467000000iso4217:USD-6
930000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
940000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
950000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
960000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
970000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)5100000000iso4217:USD-6
980000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)4412000000iso4217:USD-6
990000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Building And Building Improvements [Member]Property Plant And Equipment Useful Life_2508060
1000000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Property Plant And Equipment Useful Life_2508662
1010000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Building And Building Improvements [Member]Property Plant And Equipment Useful Life_2509252
1020000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Property Plant And Equipment Useful Life_2509854
1030000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Computer Equipment [Member]Property Plant And Equipment Useful Life_2510444
1040000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Property Plant And Equipment Useful Life_2511046
1050000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Computer Equipment [Member]Property Plant And Equipment Useful Life_2511636
1060000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Property Plant And Equipment Useful Life_2512238
1070000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Furniture And Fixtures [Member]Property Plant And Equipment Useful Life_2512828
1080000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Property Plant And Equipment Useful Life_2513430
1090000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Furniture And Fixtures [Member]Property Plant And Equipment Useful Life_2514020
1100000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Property Plant And Equipment Useful Life_2514622
1110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Leasehold Improvements [Member]Property Plant And Equipment Useful Life_2515212
1120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Property Plant And Equipment Useful Life_2515814
1130000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Leasehold Improvements [Member]Property Plant And Equipment Useful Life_2516404
1140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Property Plant And Equipment Useful Life_2517006
1150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Software And Software Development Costs [Member]Property Plant And Equipment Useful Life_2517596
1160000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Property Plant And Equipment Useful Life_2518198
1170000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Software And Software Development Costs [Member]Property Plant And Equipment Useful Life_2518788
1180000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Property Plant And Equipment Useful Life_2519390
1190000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
1200000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
1210000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
1220000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Range [Member]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
1230000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
1240000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
1250000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
1260000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
1270000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Range [Member]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
1280000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
1290000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
1300000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
1310000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
1320000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Range [Member]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
1330000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
1340000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
1350000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
1360000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
1370000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Range [Member]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
1380000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
1390000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
1400000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
1410000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
1420000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Range [Member]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
1430000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
1440000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
1450000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
1460000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
1470000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Range [Member]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
1480000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
1490000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
1500000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
1510000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
1520000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Range [Member]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
1530000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
1540000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
1550000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
1560000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
1570000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Range [Member]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
1580000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
1590000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
1600000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
1610000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
1620000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Range [Member]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
1630000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
1640000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
1650000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
1660000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
1670000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Range [Member]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
1680000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
1690000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Type Of Adoption [Member]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
1700000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Deferred Revenue Arrangement Type [Domain]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
1710000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Property Plant And Equipment Type [Domain]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
1720000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Range [Member]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
1730000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Scenario Unspecified [Domain]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
1740000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:SalesRevenueNet (label)5834000000iso4217:USD-6
1750000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)5834000000iso4217:USD-6
1760000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:SalesRevenueNet (label)6621000000iso4217:USD-6
1770000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)6621000000iso4217:USD-6
1780000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1790000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1800000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1810000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1820000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1300000000iso4217:USD-8
1830000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)6600000000iso4217:USD-8
1840000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1700000000iso4217:USD-8
1850000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1600000000iso4217:USD-8
1860000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)2000000000iso4217:USD-8
1870000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1900000000iso4217:USD-8
1880000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)6700000000iso4217:USD-8
1890000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)2000000000iso4217:USD-8
1900000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1500000000iso4217:USD-8
1910000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1400000000iso4217:USD-8
1920000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)91154000000iso4217:USD-6
1930000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)96571000000iso4217:USD-6

Fact Table
Network
100530 - Disclosure - Allowance for Doubtful Accounts (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAllowanceForDoubtfulAccountsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other77000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other146000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Charged To Costs And Other85000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-06-30Allowance For Doubtful Accounts [Member]us-gaap:ValuationAllowancesAndReservesBalance (label)301000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-06-30Allowance For Doubtful Accounts [Member]us-gaap:ValuationAllowancesAndReservesBalance (label)335000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Allowance For Doubtful Accounts [Member]us-gaap:ValuationAllowancesAndReservesBalance (label)426000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Allowance For Doubtful Accounts [Member]us-gaap:ValuationAllowancesAndReservesBalance (label)405000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions43000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions55000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Allowance For Doubtful Accounts [Member]Valuation Allowances And Reserves Deductions106000000iso4217:USD-6

Fact Table
Network
100540 - Disclosure - Expected Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Reported Results - (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureExpectedImpactsOfAdoptionOfStandardsRelatedToRevenueRecognitionAndLeasesToReportedResultsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:AccountsReceivableNetCurrent (label)2359000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]us-gaap:AccountsReceivableNetCurrent (label)2359000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:AccountsReceivableNetCurrent (label)2639000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]us-gaap:AccountsReceivableNetCurrent (label)2639000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:AccountsReceivableNetCurrent (label)0iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]us-gaap:AccountsReceivableNetCurrent (label)0iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:AccountsReceivableNetCurrent (label)0iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]us-gaap:AccountsReceivableNetCurrent (label)0iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]us-gaap:AccountsReceivableNetCurrent (label)20636000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]us-gaap:AccountsReceivableNetCurrent (label)22431000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Revenue-11716000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Revenue-11716000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Revenue-17823000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Revenue-17823000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Revenue0iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Revenue0iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Revenue0iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Revenue0iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Revenue22193000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Revenue26656000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Tax Liabilities Noncurrent4837000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent4837000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Deferred Tax Liabilities Noncurrent5203000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5203000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Tax Liabilities Noncurrent0iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Deferred Tax Liabilities Noncurrent0iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent0iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent6313000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Deferred Tax Liabilities Noncurrent5734000000iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:EarningsPerShareDiluted (label)0.46iso4217:USD/shares2
320000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:EarningsPerShareDiluted (label)0.46iso4217:USD/shares2
330000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:EarningsPerShareDiluted (label)0.54iso4217:USD/shares2
340000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:EarningsPerShareDiluted (label)0.54iso4217:USD/shares2
350000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:EarningsPerShareDiluted (label)0iso4217:USD/shares0
360000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:EarningsPerShareDiluted (label)0iso4217:USD/shares0
370000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:EarningsPerShareDiluted (label)0iso4217:USD/shares0
380000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:EarningsPerShareDiluted (label)0iso4217:USD/shares0
390000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:EarningsPerShareDiluted (label)2.56iso4217:USD/shares2
400000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:EarningsPerShareDiluted (label)3.25iso4217:USD/shares2
410000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:IncomeTaxExpenseBenefit (label)2147000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)2147000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:IncomeTaxExpenseBenefit (label)2467000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)2467000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)0iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)5100000000iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:IncomeTaxExpenseBenefit (label)4412000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:NetIncomeLoss (label)3741000000iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:NetIncomeLoss (label)3741000000iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:NetIncomeLoss (label)4285000000iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:NetIncomeLoss (label)4285000000iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:NetIncomeLoss (label)0iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:NetIncomeLoss (label)0iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:NetIncomeLoss (label)0iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:NetIncomeLoss (label)0iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:NetIncomeLoss (label)20539000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:NetIncomeLoss (label)25489000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Operating Lease Liability0iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Liability0iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Operating Lease Liability0iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Liability0iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Liability4257000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Liability4257000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Liability5372000000iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Liability5372000000iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Liability4257000000iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Liability5372000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Operating Lease Right Of Use Asset0iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Right Of Use Asset0iso4217:USD-6
730000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Operating Lease Right Of Use Asset0iso4217:USD-6
740000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Right Of Use Asset0iso4217:USD-6
750000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Right Of Use Asset5198000000iso4217:USD-6
760000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Right Of Use Asset5198000000iso4217:USD-6
770000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Operating Lease Right Of Use Asset6555000000iso4217:USD-6
780000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Right Of Use Asset6555000000iso4217:USD-6
790000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Operating Lease Right Of Use Asset5198000000iso4217:USD-6
800000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Operating Lease Right Of Use Asset6555000000iso4217:USD-6
810000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Other Assets1872000000iso4217:USD-6
820000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Other Assets1872000000iso4217:USD-6
830000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Other Assets32000000iso4217:USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Other Assets32000000iso4217:USD-6
850000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Other Assets0iso4217:USD-6
860000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Other Assets0iso4217:USD-6
870000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Other Assets0iso4217:USD-6
880000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Other Assets0iso4217:USD-6
890000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Other Assets11180000000iso4217:USD-6
900000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Other Assets11179000000iso4217:USD-6
910000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Other Liabilities17000000iso4217:USD-6
920000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Other Liabilities17000000iso4217:USD-6
930000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)Other Liabilities-26000000iso4217:USD-6
940000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Other Liabilities-26000000iso4217:USD-6
950000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Other Liabilities941000000iso4217:USD-6
960000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Other Liabilities941000000iso4217:USD-6
970000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)Other Liabilities1183000000iso4217:USD-6
980000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Other Liabilities1183000000iso4217:USD-6
990000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]Other Liabilities20547000000iso4217:USD-6
1000000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]Other Liabilities24621000000iso4217:USD-6
1010000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:SalesRevenueNet (label)5834000000iso4217:USD-6
1020000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)5834000000iso4217:USD-6
1030000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:SalesRevenueNet (label)6621000000iso4217:USD-6
1040000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)6621000000iso4217:USD-6
1050000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1060000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1070000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1080000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)0iso4217:USD-6
1090000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)91154000000iso4217:USD-6
1100000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Scenario Plan [Member]us-gaap:SalesRevenueNet (label)96571000000iso4217:USD-6
1110000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:StockholdersEquity (label)11093000000iso4217:USD-6
1120000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]us-gaap:StockholdersEquity (label)11093000000iso4217:USD-6
1130000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201409Member (label)us-gaap:StockholdersEquity (label)15317000000iso4217:USD-6
1140000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]us-gaap:StockholdersEquity (label)15317000000iso4217:USD-6
1150000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:StockholdersEquity (label)0iso4217:USD-6
1160000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]us-gaap:StockholdersEquity (label)0iso4217:USD-6
1170000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:AccountingStandardsUpdate201602Member (label)us-gaap:StockholdersEquity (label)0iso4217:USD-6
1180000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]us-gaap:StockholdersEquity (label)0iso4217:USD-6
1190000789019 (http://www.sec.gov/CIK)2016-06-30Scenario Plan [Member]us-gaap:StockholdersEquity (label)83090000000iso4217:USD-6
1200000789019 (http://www.sec.gov/CIK)2017-06-30Scenario Plan [Member]us-gaap:StockholdersEquity (label)87711000000iso4217:USD-6

Fact Table
Network
100550 - Disclosure - Basic and Diluted Earnings Per Share (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBasicAndDilutedEarningsPerShareDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100560 - Disclosure - Components of Other Income (Expense), Net (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100570 - Disclosure - Net Recognized Gains (Losses) on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100580 - Disclosure - Investment Components, Including Associated Derivatives (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Investment Type Categorization [Member]us-gaap:AvailableForSaleSecurities (label)123671000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Investment Type Categorization [Member]us-gaap:AvailableForSaleSecurities (label)139004000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AvailableForSaleSecurities (label)4808000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AvailableForSaleSecurities (label)3931000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AvailableForSaleSecurities (label)1000000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AvailableForSaleSecurities (label)1358000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AvailableForSaleSecurities (label)298000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AvailableForSaleSecurities (label)319000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AvailableForSaleSecurities (label)6584000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AvailableForSaleSecurities (label)4835000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AvailableForSaleSecurities (label)9813000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AvailableForSaleSecurities (label)5500000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AvailableForSaleSecurities (label)5494000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AvailableForSaleSecurities (label)5265000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AvailableForSaleSecurities (label)1012000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AvailableForSaleSecurities (label)1478000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AvailableForSaleSecurities (label)90204000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AvailableForSaleSecurities (label)111844000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AvailableForSaleSecurities (label)342000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AvailableForSaleSecurities (label)327000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax4895000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax3267000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax21000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax14000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax110000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax61000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax4452000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax3062000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax10000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax2000000iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax0iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax245000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax85000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax57000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Gain Before Tax43000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2016-06-30Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax302000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Investment Type Categorization [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax423000000iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2016-06-30Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30Other Security Investments [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax2000000iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax4000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Cash [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax35000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax12000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax236000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax34000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax18000000iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax13000000iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax11000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax360000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]Available For Sale Securities Accumulated Gross Unrealized Loss Before Tax0iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2016-06-30Investment Type Categorization [Member]Available For Sale Securities Amortized Cost119078000000iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Investment Type Categorization [Member]Available For Sale Securities Amortized Cost136160000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Amortized Cost4789000000iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Amortized Cost3921000000iso4217:USD-6
730000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]Available For Sale Securities Amortized Cost1000000000iso4217:USD-6
740000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]Available For Sale Securities Amortized Cost1358000000iso4217:USD-6
750000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]Available For Sale Securities Amortized Cost298000000iso4217:USD-6
760000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]Available For Sale Securities Amortized Cost319000000iso4217:USD-6
770000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Amortized Cost6509000000iso4217:USD-6
780000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Amortized Cost4786000000iso4217:USD-6
790000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Amortized Cost5597000000iso4217:USD-6
800000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Amortized Cost2472000000iso4217:USD-6
810000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Amortized Cost5502000000iso4217:USD-6
820000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Amortized Cost5276000000iso4217:USD-6
830000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]Available For Sale Securities Amortized Cost1012000000iso4217:USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]Available For Sale Securities Amortized Cost1478000000iso4217:USD-6
850000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Amortized Cost89970000000iso4217:USD-6
860000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Amortized Cost112119000000iso4217:USD-6
870000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]Available For Sale Securities Amortized Cost285000000iso4217:USD-6
880000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]Available For Sale Securities Amortized Cost284000000iso4217:USD-6
890000789019 (http://www.sec.gov/CIK)2016-06-30Investment Type Categorization [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)106730000000iso4217:USD-6
900000789019 (http://www.sec.gov/CIK)2017-06-30Investment Type Categorization [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)125318000000iso4217:USD-6
910000789019 (http://www.sec.gov/CIK)2016-06-30Other Security Investments [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)-3000000iso4217:USD-6
920000789019 (http://www.sec.gov/CIK)2017-06-30Other Security Investments [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
930000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)4808000000iso4217:USD-6
940000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)3931000000iso4217:USD-6
950000789019 (http://www.sec.gov/CIK)2016-06-30Cash [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
960000789019 (http://www.sec.gov/CIK)2017-06-30Cash [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
970000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)132000000iso4217:USD-6
980000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)386000000iso4217:USD-6
990000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
1000000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)250000000iso4217:USD-6
1010000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)6584000000iso4217:USD-6
1020000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)4835000000iso4217:USD-6
1030000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
1040000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
1050000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)4763000000iso4217:USD-6
1060000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)3761000000iso4217:USD-6
1070000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
1080000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)0iso4217:USD-6
1090000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AvailableForSaleSecuritiesCurrent (label)90104000000iso4217:USD-6
1100000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AvailableForSaleSecuritiesCurrent (label)111828000000iso4217:USD-6
1110000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)342000000iso4217:USD-6
1120000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AvailableForSaleSecuritiesCurrent (label)327000000iso4217:USD-6
1130000789019 (http://www.sec.gov/CIK)2016-06-30Cash [Member]us-gaap:Cash (label)3501000000iso4217:USD-6
1140000789019 (http://www.sec.gov/CIK)2017-06-30Cash [Member]us-gaap:Cash (label)3624000000iso4217:USD-6
1150000789019 (http://www.sec.gov/CIK)2014-06-30Investment Type Categorization [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)8669000000iso4217:USD-6
1160000789019 (http://www.sec.gov/CIK)2015-06-30Investment Type Categorization [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)5595000000iso4217:USD-6
1170000789019 (http://www.sec.gov/CIK)2016-06-30Investment Type Categorization [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)6510000000iso4217:USD-6
1180000789019 (http://www.sec.gov/CIK)2017-06-30Investment Type Categorization [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)7663000000iso4217:USD-6
1190000789019 (http://www.sec.gov/CIK)2016-06-30Other Security Investments [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1200000789019 (http://www.sec.gov/CIK)2017-06-30Other Security Investments [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1210000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1220000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1230000789019 (http://www.sec.gov/CIK)2016-06-30Cash [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)3501000000iso4217:USD-6
1240000789019 (http://www.sec.gov/CIK)2017-06-30Cash [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)3624000000iso4217:USD-6
1250000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)868000000iso4217:USD-6
1260000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)972000000iso4217:USD-6
1270000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)298000000iso4217:USD-6
1280000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)69000000iso4217:USD-6
1290000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1300000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1310000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1320000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1330000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)731000000iso4217:USD-6
1340000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)1504000000iso4217:USD-6
1350000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)1012000000iso4217:USD-6
1360000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)1478000000iso4217:USD-6
1370000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:CashAndCashEquivalentsAtCarryingValue (label)100000000iso4217:USD-6
1380000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:CashAndCashEquivalentsAtCarryingValue (label)16000000iso4217:USD-6
1390000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1400000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:CashAndCashEquivalentsAtCarryingValue (label)0iso4217:USD-6
1410000789019 (http://www.sec.gov/CIK)2016-06-30Other Security Investments [Member]Equity Method Investment Aggregate Cost615000000iso4217:USD-6
1420000789019 (http://www.sec.gov/CIK)2017-06-30Other Security Investments [Member]Equity Method Investment Aggregate Cost523000000iso4217:USD-6
1430000789019 (http://www.sec.gov/CIK)2016-06-30Other Security Investments [Member]us-gaap:EquityMethodInvestments (label)615000000iso4217:USD-6
1440000789019 (http://www.sec.gov/CIK)2017-06-30Other Security Investments [Member]us-gaap:EquityMethodInvestments (label)523000000iso4217:USD-6
1450000789019 (http://www.sec.gov/CIK)2016-06-30Investment Type Categorization [Member]us-gaap:LongTermInvestments (label)10431000000iso4217:USD-6
1460000789019 (http://www.sec.gov/CIK)2017-06-30Investment Type Categorization [Member]us-gaap:LongTermInvestments (label)6023000000iso4217:USD-6
1470000789019 (http://www.sec.gov/CIK)2016-06-30Other Security Investments [Member]us-gaap:LongTermInvestments (label)618000000iso4217:USD-6
1480000789019 (http://www.sec.gov/CIK)2017-06-30Other Security Investments [Member]us-gaap:LongTermInvestments (label)523000000iso4217:USD-6
1490000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1500000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1510000789019 (http://www.sec.gov/CIK)2016-06-30Cash [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1520000789019 (http://www.sec.gov/CIK)2017-06-30Cash [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1530000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1540000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1550000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1560000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1570000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1580000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1590000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:LongTermInvestments (label)9813000000iso4217:USD-6
1600000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:LongTermInvestments (label)5500000000iso4217:USD-6
1610000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1620000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1630000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1640000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1650000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:LongTermInvestments (label)0iso4217:USD-6
1660000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:LongTermInvestments (label)0iso4217:USD-6
1670000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6
1680000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:LongTermInvestments (label)0iso4217:USD-6

Fact Table
Network
100590 - Disclosure - Investments - Cost Method - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsCostMethodAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Measurements Nonrecurring [Member]us-gaap:CostMethodInvestments (label)767000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Measurements Nonrecurring [Member]us-gaap:CostMethodInvestments (label)1073000000iso4217:USD-6

Fact Table
Network
100600 - Disclosure - Investments - Secured Borrowings and Loaned Securities - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentsSecuredBorrowingsAndLoanedSecuritiesAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Cash [Member]Securities Received As Collateral294000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Securities Received As Collateral3700000000iso4217:USD-8

Fact Table
Network
100610 - Disclosure - Unrealized Losses on Investments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnrealizedLossesOnInvestmentsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss137000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss56000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss1000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss1000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss24000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss4000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss89000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss28000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss15000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss11000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss8000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position12 Months Or Longer Accumulated Loss12000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss302000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss423000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss2000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss4000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss35000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss12000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss236000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss34000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss18000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss13000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss11000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Accumulated Loss360000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Fair Value14155000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2017-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Fair Value94287000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1166000000iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1266000000iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1968000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value846000000iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value1286000000iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value217000000iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value3487000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Fair Value4029000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Fair Value6248000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Fair Value87929000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss165000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss367000000iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss1000000iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss11000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss8000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss147000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss6000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss2000000iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss3000000iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Less Than12 Months Accumulated Loss348000000iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2016-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value12188000000iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2017-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value93370000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value844000000iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value1068000000iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value1180000000iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value669000000iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value896000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value69000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value3452000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value4006000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value5816000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Less Than Twelve Months Fair Value87558000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2016-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value1967000000iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2017-06-30Major Types Of Debt And Equity Securities [Domain]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value917000000iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value322000000iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value198000000iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value788000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value177000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value390000000iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value148000000iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value35000000iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value23000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value432000000iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)Available For Sale Securities Continuous Unrealized Loss Position Twelve Months Or Longer Fair Value371000000iso4217:USD-6

Fact Table
Network
100620 - Disclosure - Debt Investment Maturities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtInvestmentMaturitiesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100630 - Disclosure - Derivatives - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDerivativesAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Commodity Contract [Member]Derivative Notional Amount631000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount631000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Long [Member]Derivative Notional Amount631000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Commodity Contract [Member]Derivative Notional Amount19000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount19000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Long [Member]Derivative Notional Amount19000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Commodity Contract [Member]Derivative Notional Amount162000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount162000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount162000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Credit Risk Contract [Member]Derivative Notional Amount440000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount440000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Long [Member]Derivative Notional Amount440000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Notional Amount267000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount267000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2017-06-30Long [Member]Derivative Notional Amount267000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2016-06-30Credit Risk Contract [Member]Derivative Notional Amount273000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount273000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount273000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Notional Amount63000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount63000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2017-06-30Short [Member]Derivative Notional Amount63000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Notional Amount737000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Notional Amount737000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2016-06-30Long [Member]Derivative Notional Amount737000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Notional Amount1600000000iso4217:USD-8
260000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Notional Amount1600000000iso4217:USD-8
270000789019 (http://www.sec.gov/CIK)2017-06-30Long [Member]Derivative Notional Amount1600000000iso4217:USD-8
280000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Notional Amount986000000iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Notional Amount986000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount986000000iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Notional Amount1800000000iso4217:USD-8
320000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Notional Amount1800000000iso4217:USD-8
330000789019 (http://www.sec.gov/CIK)2017-06-30Short [Member]Derivative Notional Amount1800000000iso4217:USD-8
340000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Notional Amount1300000000iso4217:USD-8
350000789019 (http://www.sec.gov/CIK)2016-06-30Long [Member]Derivative Notional Amount1300000000iso4217:USD-8
360000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Notional Amount1900000000iso4217:USD-8
370000789019 (http://www.sec.gov/CIK)2017-06-30Long [Member]Derivative Notional Amount1900000000iso4217:USD-8
380000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Notional Amount2200000000iso4217:USD-8
390000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount2200000000iso4217:USD-8
400000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Notional Amount2400000000iso4217:USD-8
410000789019 (http://www.sec.gov/CIK)2017-06-30Short [Member]Derivative Notional Amount2400000000iso4217:USD-8
420000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Notional Amount8400000000iso4217:USD-8
430000789019 (http://www.sec.gov/CIK)2016-06-30Cash Flow Hedging [Member]Derivative Notional Amount8400000000iso4217:USD-8
440000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount8400000000iso4217:USD-8
450000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Notional Amount8900000000iso4217:USD-8
460000789019 (http://www.sec.gov/CIK)2017-06-30Cash Flow Hedging [Member]Derivative Notional Amount8900000000iso4217:USD-8
470000789019 (http://www.sec.gov/CIK)2017-06-30Short [Member]Derivative Notional Amount8900000000iso4217:USD-8
480000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Notional Amount5300000000iso4217:USD-8
490000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Hedging [Member]Derivative Notional Amount5300000000iso4217:USD-8
500000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount5300000000iso4217:USD-8
510000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Notional Amount5100000000iso4217:USD-8
520000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Hedging [Member]Derivative Notional Amount5100000000iso4217:USD-8
530000789019 (http://www.sec.gov/CIK)2017-06-30Short [Member]Derivative Notional Amount5100000000iso4217:USD-8
540000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Notional Amount12000000000iso4217:USD-8
550000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount12000000000iso4217:USD-8
560000789019 (http://www.sec.gov/CIK)2016-06-30Long [Member]Derivative Notional Amount12000000000iso4217:USD-8
570000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Notional Amount8800000000iso4217:USD-8
580000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount8800000000iso4217:USD-8
590000789019 (http://www.sec.gov/CIK)2017-06-30Long [Member]Derivative Notional Amount8800000000iso4217:USD-8
600000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Notional Amount11700000000iso4217:USD-8
610000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount11700000000iso4217:USD-8
620000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount11700000000iso4217:USD-8
630000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Notional Amount10600000000iso4217:USD-8
640000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount10600000000iso4217:USD-8
650000789019 (http://www.sec.gov/CIK)2017-06-30Short [Member]Derivative Notional Amount10600000000iso4217:USD-8
660000789019 (http://www.sec.gov/CIK)2016-06-30Interest Rate Contract [Member]Derivative Notional Amount328000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount328000000iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2016-06-30Long [Member]Derivative Notional Amount328000000iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Notional Amount233000000iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount233000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2017-06-30Long [Member]Derivative Notional Amount233000000iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Interest Rate Contract [Member]Derivative Notional Amount2400000000iso4217:USD-8
730000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount2400000000iso4217:USD-8
740000789019 (http://www.sec.gov/CIK)2016-06-30Short [Member]Derivative Notional Amount2400000000iso4217:USD-8
750000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Notional Amount352000000iso4217:USD-6
760000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount352000000iso4217:USD-6
770000789019 (http://www.sec.gov/CIK)2017-06-30Short [Member]Derivative Notional Amount352000000iso4217:USD-6
780000789019 (http://www.sec.gov/CIK)2016-06-30Mortgage Backed Securities [Member]Derivative Notional Amount548000000iso4217:USD-6
790000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Notional Amount548000000iso4217:USD-6
800000789019 (http://www.sec.gov/CIK)2016-06-30Long [Member]Derivative Notional Amount548000000iso4217:USD-6
810000789019 (http://www.sec.gov/CIK)2017-06-30Mortgage Backed Securities [Member]Derivative Notional Amount567000000iso4217:USD-6
820000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Notional Amount567000000iso4217:USD-6
830000789019 (http://www.sec.gov/CIK)2017-06-30Long [Member]Derivative Notional Amount567000000iso4217:USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Contract Type [Domain]Financial Instrument Covenant Minimum Liquidity1000000000iso4217:USDINF
850000789019 (http://www.sec.gov/CIK)2017-06-30Longterm Debt Type [Domain]Financial Instrument Covenant Minimum Liquidity1000000000iso4217:USDINF
860000789019 (http://www.sec.gov/CIK)2017-06-30Position [Domain]Financial Instrument Covenant Minimum Liquidity1000000000iso4217:USDINF
870000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Derivative Contract Type [Domain]Financial Instrument Covenant Minimum Liquidity Requirement1000000000iso4217:USDINF
880000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Longterm Debt Type [Domain]Financial Instrument Covenant Minimum Liquidity Requirement1000000000iso4217:USDINF
890000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Position [Domain]Financial Instrument Covenant Minimum Liquidity Requirement1000000000iso4217:USDINF
900000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Unsecured Debt [Member]Debt Instrument Credit RatingAAA
910000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Contract Type [Domain]Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Months130000000iso4217:USD-6
920000789019 (http://www.sec.gov/CIK)2017-06-30Longterm Debt Type [Domain]Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Months130000000iso4217:USD-6
930000789019 (http://www.sec.gov/CIK)2017-06-30Position [Domain]Foreign Currency Cash Flow Hedge Gain Loss To Be Reclassified During Next12 Months130000000iso4217:USD-6
940000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Derivative Contract Type [Domain]Maximum Length Of Time Foreign Currency Cash Flow Hedge_2221924
950000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Longterm Debt Type [Domain]Maximum Length Of Time Foreign Currency Cash Flow Hedge_2222514
960000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Position [Domain]Maximum Length Of Time Foreign Currency Cash Flow Hedge_2223104

Fact Table
Network
100640 - Disclosure - Fair Values of Derivative Instruments (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet-7000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Assets Net Amounts Presented In Balance Sheet-7000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet0iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Assets Net Amounts Presented In Balance Sheet0iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet246000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Assets Net Amounts Presented In Balance Sheet246000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet204000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Assets Net Amounts Presented In Balance Sheet204000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet-2000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Assets Net Amounts Presented In Balance Sheet-2000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet-5000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Assets Net Amounts Presented In Balance Sheet-5000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Assets Net Amounts Presented In Balance Sheet80000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Assets Net Amounts Presented In Balance Sheet80000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet-7000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet0iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet246000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet204000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet-2000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet-5000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Assets Potential Net Amounts Not Presented In Balance Sheet80000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset Amount Not Offset0iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability Amount Not Offset0iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet232000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet232000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet113000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet113000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet1000000iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Liabilities Net Amounts Presented In Balance Sheet1000000iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet482000000iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet341000000iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Liabilities Potential Net Amounts Not Presented In Balance Sheet1000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability25000000iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Asset Fair Value Gross Liability25000000iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability67000000iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Asset Fair Value Gross Liability67000000iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability302000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Asset Fair Value Gross Liability302000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability132000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Asset Fair Value Gross Liability132000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability8000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Asset Fair Value Gross Liability8000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability74000000iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Asset Fair Value Gross Liability74000000iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Asset Fair Value Gross Liability20000000iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Asset Fair Value Gross Liability20000000iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Collateral Obligation To Return Cash250000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Collateral Obligation To Return Cash250000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Collateral Obligation To Return Cash228000000iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Collateral Obligation To Return Cash228000000iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Collateral Obligation To Return Cash0iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Collateral Obligation To Return Cash0iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
730000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
740000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
750000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
760000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
770000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
780000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
790000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
800000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
810000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
820000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
830000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Collateral Right To Reclaim Cash0iso4217:USD-6
850000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
860000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
870000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
880000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
890000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset548000000iso4217:USD-6
900000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset548000000iso4217:USD-6
910000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset336000000iso4217:USD-6
920000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset336000000iso4217:USD-6
930000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
940000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
950000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset69000000iso4217:USD-6
960000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset69000000iso4217:USD-6
970000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Asset100000000iso4217:USD-6
980000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset100000000iso4217:USD-6
990000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
1000000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
1010000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1020000789019 (http://www.sec.gov/CIK)2016-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1030000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1040000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1050000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1060000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1070000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
1080000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
1090000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
1100000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
1110000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
1120000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
1130000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1140000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1150000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1160000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1170000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1180000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1190000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1200000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1210000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1220000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1230000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1240000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1250000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1260000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1270000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1280000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1290000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1300000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1310000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1320000789019 (http://www.sec.gov/CIK)2016-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1330000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1340000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1350000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1360000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1370000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
1380000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset18000000iso4217:USD-6
1390000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
1400000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset67000000iso4217:USD-6
1410000789019 (http://www.sec.gov/CIK)2016-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1420000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1430000789019 (http://www.sec.gov/CIK)2017-06-30Equity And Other Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1440000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1450000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset548000000iso4217:USD-6
1460000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset336000000iso4217:USD-6
1470000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1480000789019 (http://www.sec.gov/CIK)2016-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1490000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1500000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1510000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1520000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1530000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1540000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1550000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1560000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1570000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1580000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1590000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1600000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1610000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1620000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1630000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1640000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1650000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset392000000iso4217:USD-6
1660000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset392000000iso4217:USD-6
1670000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset392000000iso4217:USD-6
1680000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset133000000iso4217:USD-6
1690000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset133000000iso4217:USD-6
1700000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset133000000iso4217:USD-6
1710000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset156000000iso4217:USD-6
1720000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset156000000iso4217:USD-6
1730000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset156000000iso4217:USD-6
1740000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset203000000iso4217:USD-6
1750000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset203000000iso4217:USD-6
1760000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset203000000iso4217:USD-6
1770000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1780000789019 (http://www.sec.gov/CIK)2016-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1790000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1800000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1810000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1820000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1830000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset392000000iso4217:USD-6
1840000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset392000000iso4217:USD-6
1850000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset133000000iso4217:USD-6
1860000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset133000000iso4217:USD-6
1870000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset156000000iso4217:USD-6
1880000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset156000000iso4217:USD-6
1890000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Assets [Member]Derivative Fair Value Of Derivative Asset203000000iso4217:USD-6
1900000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset203000000iso4217:USD-6
1910000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
1920000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1930000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1940000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1950000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1960000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1970000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1980000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
1990000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2000000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2010000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2020000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2030000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2040000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2050000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2060000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2070000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2080000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2090000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2100000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2110000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2120000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2130000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2140000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset73000000iso4217:USD-6
2150000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset100000000iso4217:USD-6
2160000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2170000789019 (http://www.sec.gov/CIK)2016-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2180000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset6000000iso4217:USD-6
2190000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset5000000iso4217:USD-6
2200000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Asset5000000iso4217:USD-6
2210000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset5000000iso4217:USD-6
2220000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2230000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2240000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2250000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2260000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2270000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset0iso4217:USD-6
2280000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset23000000iso4217:USD-6
2290000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset23000000iso4217:USD-6
2300000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset23000000iso4217:USD-6
2310000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset3000000iso4217:USD-6
2320000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Asset3000000iso4217:USD-6
2330000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset3000000iso4217:USD-6
2340000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset1000000iso4217:USD-6
2350000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset1000000iso4217:USD-6
2360000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset1000000iso4217:USD-6
2370000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset80000000iso4217:USD-6
2380000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset80000000iso4217:USD-6
2390000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset80000000iso4217:USD-6
2400000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset33000000iso4217:USD-6
2410000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset33000000iso4217:USD-6
2420000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset33000000iso4217:USD-6
2430000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset9000000iso4217:USD-6
2440000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Asset9000000iso4217:USD-6
2450000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset9000000iso4217:USD-6
2460000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset10000000iso4217:USD-6
2470000789019 (http://www.sec.gov/CIK)2016-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Asset10000000iso4217:USD-6
2480000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset10000000iso4217:USD-6
2490000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset3000000iso4217:USD-6
2500000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Asset3000000iso4217:USD-6
2510000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset3000000iso4217:USD-6
2520000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset1000000iso4217:USD-6
2530000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset1000000iso4217:USD-6
2540000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset80000000iso4217:USD-6
2550000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Asset80000000iso4217:USD-6
2560000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset72000000iso4217:USD-6
2570000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset72000000iso4217:USD-6
2580000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Investments [Member]Derivative Fair Value Of Derivative Asset20000000iso4217:USD-6
2590000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Asset20000000iso4217:USD-6
2600000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability630000000iso4217:USD-6
2610000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability630000000iso4217:USD-6
2620000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability334000000iso4217:USD-6
2630000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability334000000iso4217:USD-6
2640000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
2650000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
2660000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability630000000iso4217:USD-6
2670000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability337000000iso4217:USD-6
2680000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability5000000iso4217:USD-6
2690000789019 (http://www.sec.gov/CIK)2016-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Liability5000000iso4217:USD-6
2700000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability5000000iso4217:USD-6
2710000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability1000000iso4217:USD-6
2720000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Liability1000000iso4217:USD-6
2730000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability1000000iso4217:USD-6
2740000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability25000000iso4217:USD-6
2750000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Liability25000000iso4217:USD-6
2760000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability25000000iso4217:USD-6
2770000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability186000000iso4217:USD-6
2780000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Liability186000000iso4217:USD-6
2790000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability186000000iso4217:USD-6
2800000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability16000000iso4217:USD-6
2810000789019 (http://www.sec.gov/CIK)2016-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Liability16000000iso4217:USD-6
2820000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability16000000iso4217:USD-6
2830000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability6000000iso4217:USD-6
2840000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Liability6000000iso4217:USD-6
2850000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability6000000iso4217:USD-6
2860000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability263000000iso4217:USD-6
2870000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Liability263000000iso4217:USD-6
2880000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability263000000iso4217:USD-6
2890000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability3000000iso4217:USD-6
2900000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Liability3000000iso4217:USD-6
2910000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability3000000iso4217:USD-6
2920000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability296000000iso4217:USD-6
2930000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Liability296000000iso4217:USD-6
2940000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability296000000iso4217:USD-6
2950000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability134000000iso4217:USD-6
2960000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Liability134000000iso4217:USD-6
2970000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability134000000iso4217:USD-6
2980000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability25000000iso4217:USD-6
2990000789019 (http://www.sec.gov/CIK)2016-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Liability25000000iso4217:USD-6
3000000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability25000000iso4217:USD-6
3010000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability7000000iso4217:USD-6
3020000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Liability7000000iso4217:USD-6
3030000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability7000000iso4217:USD-6
3040000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability288000000iso4217:USD-6
3050000789019 (http://www.sec.gov/CIK)2016-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability288000000iso4217:USD-6
3060000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability189000000iso4217:USD-6
3070000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability189000000iso4217:USD-6
3080000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability342000000iso4217:USD-6
3090000789019 (http://www.sec.gov/CIK)2016-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability342000000iso4217:USD-6
3100000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Fair Value Of Derivative Liability148000000iso4217:USD-6
3110000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability148000000iso4217:USD-6
3120000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
3130000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3140000789019 (http://www.sec.gov/CIK)2017-06-30Credit Risk Contract [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3150000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3160000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3170000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3180000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3190000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3200000789019 (http://www.sec.gov/CIK)2017-06-30Equity Contract [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3210000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3220000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3230000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3240000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3250000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
3260000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Exchange Contract [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
3270000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
3280000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3290000789019 (http://www.sec.gov/CIK)2017-06-30Interest Rate Contract [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3300000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3310000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3320000789019 (http://www.sec.gov/CIK)2017-06-30Designated As Hedging Instrument [Member]Derivative Fair Value Of Derivative Liability0iso4217:USD-6
3330000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
3340000789019 (http://www.sec.gov/CIK)2017-06-30Nondesignated [Member]Derivative Fair Value Of Derivative Liability8000000iso4217:USD-6
3350000789019 (http://www.sec.gov/CIK)2016-06-30Eligible For Offsetting [Member]Derivative Liability Fair Value Gross Asset398000000iso4217:USD-6
3360000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Derivative Liability Fair Value Gross Asset398000000iso4217:USD-6
3370000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Liability Fair Value Gross Asset221000000iso4217:USD-6
3380000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Derivative Liability Fair Value Gross Asset221000000iso4217:USD-6
3390000789019 (http://www.sec.gov/CIK)2017-06-30Eligible For Offsetting [Member]Derivative Liability Fair Value Gross Asset7000000iso4217:USD-6
3400000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Derivative Liability Fair Value Gross Asset7000000iso4217:USD-6

Fact Table
Network
100650 - Disclosure - Gains (Losses) on Fair Value Hedges and Related Hedged Items (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-107000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-76000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-74000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1741000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1-797000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Fair Value Hedging Instruments1441000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1107000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge176000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge174000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1-725000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1838000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Change In Unrealized Gain Loss On Hedged Item In Fair Value Hedge1-386000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Contract [Member]Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Net0iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Contract [Member]Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Net-10000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Contract [Member]Gain Loss From Components Excluded From Assessment Of Fair Value Hedge Effectiveness Net-80000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net0iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net16000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net41000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Gain Loss On Fair Value Hedge Ineffectiveness Net55000000iso4217:USD-6

Fact Table
Network
100660 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-346000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Designated As Hedging Instrument [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-346000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-354000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Designated As Hedging Instrument [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-354000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-389000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Designated As Hedging Instrument [Member]Derivative Instruments Gain Loss Recognized In Income Ineffective Portion And Amount Excluded From Effectiveness Testing Net-389000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net608000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Designated As Hedging Instrument [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net608000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net625000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Designated As Hedging Instrument [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net625000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net555000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Designated As Hedging Instrument [Member]Foreign Currency Cash Flow Hedge Gain Loss Reclassified To Earnings Net555000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax1152000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Designated As Hedging Instrument [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax1152000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax351000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Designated As Hedging Instrument [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax351000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax328000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Designated As Hedging Instrument [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Net Of Tax328000000iso4217:USD-6

Fact Table
Network
100670 - Disclosure - Gains (Losses) Related to Cash Flow Hedges (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesRelatedToCashFlowHedgesParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax35000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Designated As Hedging Instrument [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax35000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax24000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Designated As Hedging Instrument [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax24000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax4000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Designated As Hedging Instrument [Member]Other Comprehensive Income Unrealized Gain Loss On Derivatives Arising During Period Tax4000000iso4217:USD-6

Fact Table
Network
100680 - Disclosure - Non-Designated Derivative Gains (Losses) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureNonDesignatedDerivativeGainsLossesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-223000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-87000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Commodity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-22000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-1000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-1000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Credit Risk Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net5000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-19000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-21000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Equity Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-114000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-483000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-55000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Exchange Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net-117000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net23000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net10000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Interest Rate Contract [Member]Derivative Instruments Not Designated As Hedging Instruments Gain Loss Net14000000iso4217:USD-6

Fact Table
Network
100690 - Disclosure - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Right Of Offset And Netting [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)119019000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)119019000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Measurements Fair Value Hierarchy [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)119019000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)119019000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Right Of Offset And Netting [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)133985000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)133985000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Measurements Fair Value Hierarchy [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)133985000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain]us-gaap:AssetsFairValueDisclosureRecurring (label)133985000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)119420000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)134212000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4803000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4803000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3934000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3934000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4803000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4803000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4803000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3934000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3934000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3934000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1358000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1358000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1358000000iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1358000000iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1358000000iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)298000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)298000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)319000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)319000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)298000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)298000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)298000000iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)319000000iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)319000000iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)319000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
730000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
740000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
750000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
760000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
770000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6362000000iso4217:USD-6
780000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6362000000iso4217:USD-6
790000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4830000000iso4217:USD-6
800000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4830000000iso4217:USD-6
810000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
820000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
830000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
840000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
850000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
860000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
870000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6361000000iso4217:USD-6
880000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6361000000iso4217:USD-6
890000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6361000000iso4217:USD-6
900000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4829000000iso4217:USD-6
910000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4829000000iso4217:USD-6
920000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4829000000iso4217:USD-6
930000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
940000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
950000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
960000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
970000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
980000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
990000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)639000000iso4217:USD-6
1000000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)639000000iso4217:USD-6
1010000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)509000000iso4217:USD-6
1020000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)509000000iso4217:USD-6
1030000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6000000iso4217:USD-6
1040000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6000000iso4217:USD-6
1050000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6000000iso4217:USD-6
1060000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
1070000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
1080000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000iso4217:USD-6
1090000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)633000000iso4217:USD-6
1100000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)633000000iso4217:USD-6
1110000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)633000000iso4217:USD-6
1120000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)508000000iso4217:USD-6
1130000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)508000000iso4217:USD-6
1140000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)508000000iso4217:USD-6
1150000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1160000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1170000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1180000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1190000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1200000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1210000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)9050000000iso4217:USD-6
1220000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)9050000000iso4217:USD-6
1230000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4426000000iso4217:USD-6
1240000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4426000000iso4217:USD-6
1250000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6918000000iso4217:USD-6
1260000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6918000000iso4217:USD-6
1270000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6918000000iso4217:USD-6
1280000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2414000000iso4217:USD-6
1290000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2414000000iso4217:USD-6
1300000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2414000000iso4217:USD-6
1310000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2114000000iso4217:USD-6
1320000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2114000000iso4217:USD-6
1330000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2114000000iso4217:USD-6
1340000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1994000000iso4217:USD-6
1350000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1994000000iso4217:USD-6
1360000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1994000000iso4217:USD-6
1370000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)18000000iso4217:USD-6
1380000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)18000000iso4217:USD-6
1390000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)18000000iso4217:USD-6
1400000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)18000000iso4217:USD-6
1410000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)18000000iso4217:USD-6
1420000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)18000000iso4217:USD-6
1430000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5715000000iso4217:USD-6
1440000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5715000000iso4217:USD-6
1450000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5187000000iso4217:USD-6
1460000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5187000000iso4217:USD-6
1470000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)10000000iso4217:USD-6
1480000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)10000000iso4217:USD-6
1490000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)10000000iso4217:USD-6
1500000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1510000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1520000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1530000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5705000000iso4217:USD-6
1540000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5705000000iso4217:USD-6
1550000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5705000000iso4217:USD-6
1560000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5187000000iso4217:USD-6
1570000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5187000000iso4217:USD-6
1580000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5187000000iso4217:USD-6
1590000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1600000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1610000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1620000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1630000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1640000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1650000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1012000000iso4217:USD-6
1660000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1012000000iso4217:USD-6
1670000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1478000000iso4217:USD-6
1680000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1478000000iso4217:USD-6
1690000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1012000000iso4217:USD-6
1700000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1012000000iso4217:USD-6
1710000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1012000000iso4217:USD-6
1720000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1478000000iso4217:USD-6
1730000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1478000000iso4217:USD-6
1740000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1478000000iso4217:USD-6
1750000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1760000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1770000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1780000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1790000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1800000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1810000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1820000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1830000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1840000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1850000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1860000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
1870000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)90199000000iso4217:USD-6
1880000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)90199000000iso4217:USD-6
1890000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)111844000000iso4217:USD-6
1900000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)111844000000iso4217:USD-6
1910000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)86492000000iso4217:USD-6
1920000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)86492000000iso4217:USD-6
1930000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)86492000000iso4217:USD-6
1940000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)109228000000iso4217:USD-6
1950000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)109228000000iso4217:USD-6
1960000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)109228000000iso4217:USD-6
1970000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3707000000iso4217:USD-6
1980000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)3707000000iso4217:USD-6
1990000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3707000000iso4217:USD-6
2000000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2616000000iso4217:USD-6
2010000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)2616000000iso4217:USD-6
2020000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)2616000000iso4217:USD-6
2030000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2040000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2050000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2060000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2070000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2080000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2090000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)342000000iso4217:USD-6
2100000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)342000000iso4217:USD-6
2110000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)327000000iso4217:USD-6
2120000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)327000000iso4217:USD-6
2130000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2140000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2150000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2160000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2170000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2180000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2190000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)342000000iso4217:USD-6
2200000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)342000000iso4217:USD-6
2210000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)342000000iso4217:USD-6
2220000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)327000000iso4217:USD-6
2230000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)327000000iso4217:USD-6
2240000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)327000000iso4217:USD-6
2250000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2260000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2270000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2280000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2290000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2300000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2310000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)94438000000iso4217:USD-6
2320000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)94438000000iso4217:USD-6
2330000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)113121000000iso4217:USD-6
2340000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)113121000000iso4217:USD-6
2350000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)24963000000iso4217:USD-6
2360000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)24963000000iso4217:USD-6
2370000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)21072000000iso4217:USD-6
2380000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)21072000000iso4217:USD-6
2390000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)19000000iso4217:USD-6
2400000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)19000000iso4217:USD-6
2410000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)19000000iso4217:USD-6
2420000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)19000000iso4217:USD-6
2430000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)119019000000iso4217:USD-6
2440000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)133985000000iso4217:USD-6
2450000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4803000000iso4217:USD-6
2460000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4803000000iso4217:USD-6
2470000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3934000000iso4217:USD-6
2480000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)3934000000iso4217:USD-6
2490000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000000iso4217:USD-6
2500000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1000000000iso4217:USD-6
2510000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1358000000iso4217:USD-6
2520000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1358000000iso4217:USD-6
2530000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)298000000iso4217:USD-6
2540000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)298000000iso4217:USD-6
2550000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)319000000iso4217:USD-6
2560000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)319000000iso4217:USD-6
2570000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6362000000iso4217:USD-6
2580000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)6362000000iso4217:USD-6
2590000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4830000000iso4217:USD-6
2600000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4830000000iso4217:USD-6
2610000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)238000000iso4217:USD-6
2620000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)238000000iso4217:USD-6
2630000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)282000000iso4217:USD-6
2640000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)282000000iso4217:USD-6
2650000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)9050000000iso4217:USD-6
2660000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)9050000000iso4217:USD-6
2670000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4426000000iso4217:USD-6
2680000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)4426000000iso4217:USD-6
2690000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5715000000iso4217:USD-6
2700000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5715000000iso4217:USD-6
2710000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5187000000iso4217:USD-6
2720000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)5187000000iso4217:USD-6
2730000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1012000000iso4217:USD-6
2740000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1012000000iso4217:USD-6
2750000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1478000000iso4217:USD-6
2760000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)1478000000iso4217:USD-6
2770000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)90199000000iso4217:USD-6
2780000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)90199000000iso4217:USD-6
2790000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)111844000000iso4217:USD-6
2800000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)111844000000iso4217:USD-6
2810000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)342000000iso4217:USD-6
2820000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)342000000iso4217:USD-6
2830000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)327000000iso4217:USD-6
2840000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)327000000iso4217:USD-6
2850000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)-401000000iso4217:USD-6
2860000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)-227000000iso4217:USD-6
2870000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2880000789019 (http://www.sec.gov/CIK)2016-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2890000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2900000789019 (http://www.sec.gov/CIK)2017-06-30Asset Backed Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2910000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2920000789019 (http://www.sec.gov/CIK)2016-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2930000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2940000789019 (http://www.sec.gov/CIK)2017-06-30Certificates Of Deposit [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2950000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2960000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2970000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2980000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
2990000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3000000789019 (http://www.sec.gov/CIK)2016-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3010000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3020000789019 (http://www.sec.gov/CIK)2017-06-30Corporate Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3030000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)-401000000iso4217:USD-6
3040000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)-401000000iso4217:USD-6
3050000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)-227000000iso4217:USD-6
3060000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Assets [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)-227000000iso4217:USD-6
3070000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3080000789019 (http://www.sec.gov/CIK)2016-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3090000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3100000789019 (http://www.sec.gov/CIK)2017-06-30Equity Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3110000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3120000789019 (http://www.sec.gov/CIK)2016-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3130000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3140000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Government Debt Securities [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3150000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3160000789019 (http://www.sec.gov/CIK)2016-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3170000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3180000789019 (http://www.sec.gov/CIK)2017-06-30Money Market Funds [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3190000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3200000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3210000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3220000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:USGovernmentAgenciesDebtSecuritiesMember (label)us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3230000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3240000789019 (http://www.sec.gov/CIK)2016-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3250000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3260000789019 (http://www.sec.gov/CIK)2017-06-30U S States And Political Subdivisions [Member]us-gaap:AssetsFairValueDisclosureRecurring (label)0iso4217:USD-6
3270000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring17000000iso4217:USD-6
3280000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level1 [Member]Liabilities Fair Value Disclosure Recurring17000000iso4217:USD-6
3290000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring17000000iso4217:USD-6
3300000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring0iso4217:USD-6
3310000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level1 [Member]Liabilities Fair Value Disclosure Recurring0iso4217:USD-6
3320000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring0iso4217:USD-6
3330000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring613000000iso4217:USD-6
3340000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level2 [Member]Liabilities Fair Value Disclosure Recurring613000000iso4217:USD-6
3350000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring613000000iso4217:USD-6
3360000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring345000000iso4217:USD-6
3370000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level2 [Member]Liabilities Fair Value Disclosure Recurring345000000iso4217:USD-6
3380000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring345000000iso4217:USD-6
3390000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring0iso4217:USD-6
3400000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Inputs Level3 [Member]Liabilities Fair Value Disclosure Recurring0iso4217:USD-6
3410000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring0iso4217:USD-6
3420000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring39000000iso4217:USD-6
3430000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Inputs Level3 [Member]Liabilities Fair Value Disclosure Recurring39000000iso4217:USD-6
3440000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring39000000iso4217:USD-6
3450000789019 (http://www.sec.gov/CIK)2016-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring630000000iso4217:USD-6
3460000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring630000000iso4217:USD-6
3470000789019 (http://www.sec.gov/CIK)2017-06-30Gross [Member]Liabilities Fair Value Disclosure Recurring384000000iso4217:USD-6
3480000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring384000000iso4217:USD-6
3490000789019 (http://www.sec.gov/CIK)2016-06-30Net [Member]Liabilities Fair Value Disclosure Recurring232000000iso4217:USD-6
3500000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring232000000iso4217:USD-6
3510000789019 (http://www.sec.gov/CIK)2017-06-30Net [Member]Liabilities Fair Value Disclosure Recurring156000000iso4217:USD-6
3520000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring156000000iso4217:USD-6
3530000789019 (http://www.sec.gov/CIK)2016-06-30Netting [Member]Liabilities Fair Value Disclosure Recurring-398000000iso4217:USD-6
3540000789019 (http://www.sec.gov/CIK)2016-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring-398000000iso4217:USD-6
3550000789019 (http://www.sec.gov/CIK)2017-06-30Netting [Member]Liabilities Fair Value Disclosure Recurring-228000000iso4217:USD-6
3560000789019 (http://www.sec.gov/CIK)2017-06-30Derivative Financial Instruments Liabilities [Member]Liabilities Fair Value Disclosure Recurring-228000000iso4217:USD-6

Fact Table
Network
100700 - Disclosure - Reconciliation of Total Assets Measured at Fair Value on Recurring Basis to Balance Sheet Presentation (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureReconciliationOfTotalAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Measurements Recurring [Member]us-gaap:Cash (label)3501000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Measurements Recurring [Member]us-gaap:Cash (label)3624000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Measurements Nonrecurring [Member]us-gaap:CostMethodInvestments (label)767000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Measurements Nonrecurring [Member]us-gaap:CostMethodInvestments (label)1073000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Other Assets [Member]Derivative Assets246000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Other Assets [Member]Derivative Assets202000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Fair Value Measurements Nonrecurring [Member]us-gaap:EquityMethodInvestments (label)618000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Fair Value Measurements Nonrecurring [Member]us-gaap:EquityMethodInvestments (label)523000000iso4217:USD-6

Fact Table
Network
100710 - Disclosure - Components of Inventories (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfInventoriesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100720 - Disclosure - Components of Property and Equipment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfPropertyAndEquipmentDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100730 - Disclosure - Property and Equipment - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100740 - Disclosure - Business Combinations - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureBusinessCombinationsAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Business Acquisition Effective Date Of Acquisition12016-12-08
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Business Acquisition Name Of Acquired EntityLinkedIn
30000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Business Combination Consideration Transferred127000000000iso4217:USD-8
40000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Payments To Acquire Businesses Gross26900000000iso4217:USD-8

Fact Table
Network
100750 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Short Term Debt1323000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Other Liabilities Net131000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Cash And Equivalents1328000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Marketable Securities2110000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Other697000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Liabilities Other1117000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Deferred Tax Liabilities Noncurrent774000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)7887000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)23000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)3607000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)2148000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)2109000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Property Plant And Equipment1529000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Combination Recognized Identifiable Assets Acquired Goodwill And Liabilities Assumed Net27009000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:Goodwill (label)16803000000iso4217:USD-6

Fact Table
Network
100760 - Disclosure - Major Classes of Assets and Liabilities to Which We Allocated the Purchase Price (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)Business Acquisition Purchase Price Allocation Goodwill Expected Tax Deductible Amount0iso4217:USDINF
20000789019 (http://www.sec.gov/CIK)2017-06-30msft:LinkedInCorporationMember (label)us-gaap:DebtInstrumentFaceAmount (label)18000000iso4217:USD-6

Fact Table
Network
100770 - Disclosure - Acquired Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAcquiredIntangibleAssetsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1687034
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Finite Lived Intangible Assets Major Class Name [Domain]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1687624
30000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1688228
40000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1688832
50000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1689422
60000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1690026
70000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1690616
80000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1691220
90000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1691828
100000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08msft:LinkedInCorporationMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1692432
110000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1693022
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1693612
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1694202
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1694792
150000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1695400
160000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1696008
170000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1696598
180000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1697188
190000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)7887000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)23000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-12-08Contractual Rights [Member]us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)23000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)3607000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-12-08Customer Relationships [Member]us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)3607000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)2148000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2016-12-08us-gaap:MarketingRelatedIntangibleAssetsMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)2148000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2016-12-08msft:LinkedInCorporationMember (label)us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)2109000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2016-12-08Technology Based Intangible Assets [Member]us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles (label)2109000000iso4217:USD-6

Fact Table
Network
100780 - Disclosure - Revenue and Operating Loss Attributable to Acquiree, Since the Date of Acquisition (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueAndOperatingLossAttributableToAcquireeSinceDateOfAcquisitionDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Business Combination Pro Forma Information Earnings Or Loss Of Acquiree Since Acquisition Date Actual-948000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Business Combination Pro Forma Information Revenue Of Acquiree Since Acquisition Date Actual2268000000iso4217:USD-6

Fact Table
Network
100790 - Disclosure - Supplemental Consolidated Financial Results on Unaudited Pro Forma Basis, as If the Acquisition Had Been Consummated on Beginning of Period (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSupplementalConsolidatedFinancialResultsOnUnauditedProFormaBasisAsIfAcquisitionHadBeenConsummatedOnBeginningOfPeriodDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:LinkedInCorporationMember (label)Business Acquisition Pro Forma Earnings Per Share Diluted1.92iso4217:USD/shares2
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Business Acquisition Pro Forma Earnings Per Share Diluted2.67iso4217:USD/shares2
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:LinkedInCorporationMember (label)Business Acquisitions Pro Forma Net Income Loss15383000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Business Acquisitions Pro Forma Net Income Loss20894000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:LinkedInCorporationMember (label)Business Acquisitions Pro Forma Revenue88652000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)Business Acquisitions Pro Forma Revenue91668000000iso4217:USD-6

Fact Table
Network
100800 - Disclosure - Carrying Amount of Goodwill (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCarryingAmountOfGoodwillDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-06-30Segment [Domain]us-gaap:Goodwill (label)16939000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30Segment [Domain]us-gaap:Goodwill (label)17872000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Segment [Domain]us-gaap:Goodwill (label)35122000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-06-30Intelligent Cloud [Member]us-gaap:Goodwill (label)4917000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Intelligent Cloud [Member]us-gaap:Goodwill (label)5467000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Intelligent Cloud [Member]us-gaap:Goodwill (label)5555000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2015-06-30More Personal Computing [Member]us-gaap:Goodwill (label)5713000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30More Personal Computing [Member]us-gaap:Goodwill (label)5727000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30More Personal Computing [Member]us-gaap:Goodwill (label)5828000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2015-06-30Productivity And Business Processes [Member]us-gaap:Goodwill (label)6309000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Productivity And Business Processes [Member]us-gaap:Goodwill (label)6678000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Productivity And Business Processes [Member]us-gaap:Goodwill (label)23739000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Segment [Domain]Goodwill Acquired During Period1092000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Segment [Domain]Goodwill Acquired During Period17236000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Intelligent Cloud [Member]Goodwill Acquired During Period549000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Intelligent Cloud [Member]Goodwill Acquired During Period49000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30More Personal Computing [Member]Goodwill Acquired During Period100000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30More Personal Computing [Member]Goodwill Acquired During Period115000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Productivity And Business Processes [Member]Goodwill Acquired During Period443000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Productivity And Business Processes [Member]Goodwill Acquired During Period17072000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Segment [Domain]Goodwill Other Increase Decrease-159000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Segment [Domain]Goodwill Other Increase Decrease14000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Intelligent Cloud [Member]Goodwill Other Increase Decrease1000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Intelligent Cloud [Member]Goodwill Other Increase Decrease39000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30More Personal Computing [Member]Goodwill Other Increase Decrease-86000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30More Personal Computing [Member]Goodwill Other Increase Decrease-14000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Productivity And Business Processes [Member]Goodwill Other Increase Decrease-74000000iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Productivity And Business Processes [Member]Goodwill Other Increase Decrease-11000000iso4217:USD-6

Fact Table
Network
100810 - Disclosure - Goodwill - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureGoodwillAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Phone Hardware [Member]Goodwill Impairment Loss5100000000iso4217:USD-8

Fact Table
Network
100820 - Disclosure - Finite-Lived Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Contractual Rights [Member]Finite Lived Intangible Assets Accumulated Amortization718000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Contractual Rights [Member]Finite Lived Intangible Assets Accumulated Amortization722000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Customer Relationships [Member]Finite Lived Intangible Assets Accumulated Amortization385000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Customer Relationships [Member]Finite Lived Intangible Assets Accumulated Amortization692000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Finite Lived Intangible Assets Accumulated Amortization616000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Finite Lived Intangible Assets Accumulated Amortization829000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization3648000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Accumulated Amortization4318000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Contractual Rights [Member]Finite Lived Intangible Assets Gross796000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Contractual Rights [Member]Finite Lived Intangible Assets Gross841000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Customer Relationships [Member]Finite Lived Intangible Assets Gross465000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Customer Relationships [Member]Finite Lived Intangible Assets Gross4045000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Finite Lived Intangible Assets Gross1869000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Finite Lived Intangible Assets Gross4016000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Gross5970000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Technology Based Intangible Assets [Member]Finite Lived Intangible Assets Gross7765000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-06-30Contractual Rights [Member]us-gaap:FiniteLivedIntangibleAssetsNet (label)78000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2017-06-30Contractual Rights [Member]us-gaap:FiniteLivedIntangibleAssetsNet (label)119000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2016-06-30Customer Relationships [Member]us-gaap:FiniteLivedIntangibleAssetsNet (label)80000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Customer Relationships [Member]us-gaap:FiniteLivedIntangibleAssetsNet (label)3353000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)us-gaap:FiniteLivedIntangibleAssetsNet (label)1253000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2017-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)us-gaap:FiniteLivedIntangibleAssetsNet (label)3187000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-06-30Technology Based Intangible Assets [Member]us-gaap:FiniteLivedIntangibleAssetsNet (label)2322000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Technology Based Intangible Assets [Member]us-gaap:FiniteLivedIntangibleAssetsNet (label)3447000000iso4217:USD-6

Fact Table
Network
100830 - Disclosure - Finite-Lived Intangible Assets (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Technology Based Intangible Assets [Member]Capitalized Software Development Costs For Software Sold To Customers115000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Technology Based Intangible Assets [Member]Capitalized Software Development Costs For Software Sold To Customers59000000iso4217:USD-6

Fact Table
Network
100840 - Disclosure - Intangible Assets - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Devices [Member]Impairment Of Intangible Assets Finitelived480000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Phone Hardware [Member]Impairment Of Intangible Assets Finitelived2200000000iso4217:USD-8

Fact Table
Network
100850 - Disclosure - Intangible Assets Acquired (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIntangibleAssetsAcquiredDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Contractual Rights [Member]Acquired Finite Lived Intangible Assets0iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Contractual Rights [Member]Acquired Finite Lived Intangible Assets63000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Customer Relationships [Member]Acquired Finite Lived Intangible Assets30000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Customer Relationships [Member]Acquired Finite Lived Intangible Assets3607000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets2000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets2148000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets361000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets2265000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1634748
100000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1635338
110000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1635946
120000789019 (http://www.sec.gov/CIK)2016-12-07 to 2016-12-08Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1636536
130000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Contractual Rights [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1637126
140000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1637716
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Customer Relationships [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1638306
160000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1638914
170000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MarketingRelatedIntangibleAssetsMember (label)Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1639522
180000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1640112
190000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Technology Based Intangible Assets [Member]Acquired Finite Lived Intangible Assets Weighted Average Useful Life_1640702

Fact Table
Network
100860 - Disclosure - Estimated Future Amortization Expense Related to Intangible Assets (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100870 - Disclosure - Debt - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Debt Instrument Name [Domain]Commercial Paper12900000000iso4217:USD-8
20000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Debt Type [Domain]Commercial Paper12900000000iso4217:USD-8
30000789019 (http://www.sec.gov/CIK)2017-06-30Debt Instrument Name [Domain]Commercial Paper9100000000iso4217:USD-8
40000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Debt Type [Domain]Commercial Paper9100000000iso4217:USD-8
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:MaximumMember (label)Debt Instrument Term_1606098
60000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Commercial Paper [Member]Debt Instrument Term_1606688
70000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Debt Instrument Term_1607290
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Commercial Paper [Member]Debt Instrument Term_1607880
90000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:MinimumMember (label)Debt Instrument Term_1608482
100000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Commercial Paper [Member]Debt Instrument Term_1609072
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Debt Instrument Term_1609674
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Commercial Paper [Member]Debt Instrument Term_1610264
130000789019 (http://www.sec.gov/CIK)2016-06-30Debt Instrument Name [Domain]Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net392000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Debt Type [Domain]Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net392000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2017-06-30Debt Instrument Name [Domain]Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net715000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Debt Type [Domain]Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net715000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Debt Instrument Name [Domain]Interest Paid620000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Short Term Debt Type [Domain]Interest Paid620000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Debt Instrument Name [Domain]Interest Paid1100000000iso4217:USD-8
200000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Short Term Debt Type [Domain]Interest Paid1100000000iso4217:USD-8
210000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Debt Instrument Name [Domain]Interest Paid1600000000iso4217:USD-8
220000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Short Term Debt Type [Domain]Interest Paid1600000000iso4217:USD-8
230000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Debt Instrument Name [Domain]Line Of Credit Facility Covenant ComplianceAs of June 30, 2017, we were in compliance with the only financial covenant in both credit agreements, which requires us to maintain a coverage ratio of at least three times earnings before interest, taxes, depreciation, and amortization to interest expense, as defined in the credit agreements.
240000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Short Term Debt Type [Domain]Line Of Credit Facility Covenant ComplianceAs of June 30, 2017, we were in compliance with the only financial covenant in both credit agreements, which requires us to maintain a coverage ratio of at least three times earnings before interest, taxes, depreciation, and amortization to interest expense, as defined in the credit agreements.
250000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Credit Facility Expire On November Fourteen Twenty Eighteen [Member]Line Of Credit Facility Expiration Date12018-11-14
260000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Credit Facility Expire On October Thirty One Twenty Seventeen [Member]Line Of Credit Facility Expiration Date12017-10-31
270000789019 (http://www.sec.gov/CIK)2017-06-30Credit Facility Expire On November Fourteen Twenty Eighteen [Member]Line Of Credit Facility Maximum Borrowing Capacity5000000000iso4217:USDINF
280000789019 (http://www.sec.gov/CIK)2017-06-30Credit Facility Expire On October Thirty One Twenty Seventeen [Member]Line Of Credit Facility Maximum Borrowing Capacity5000000000iso4217:USDINF
290000789019 (http://www.sec.gov/CIK)2016-06-30Debt Instrument Name [Domain]Long Term Debt40600000000iso4217:USD-8
300000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Debt Type [Domain]Long Term Debt40600000000iso4217:USD-8
310000789019 (http://www.sec.gov/CIK)2017-06-30Debt Instrument Name [Domain]Long Term Debt77100000000iso4217:USD-8
320000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Debt Type [Domain]Long Term Debt77100000000iso4217:USD-8
330000789019 (http://www.sec.gov/CIK)2016-06-30Debt Instrument Name [Domain]Long Term Debt Fair Value44000000000iso4217:USD-8
340000789019 (http://www.sec.gov/CIK)2016-06-30Short Term Debt Type [Domain]Long Term Debt Fair Value44000000000iso4217:USD-8
350000789019 (http://www.sec.gov/CIK)2017-06-30Debt Instrument Name [Domain]Long Term Debt Fair Value80300000000iso4217:USD-8
360000789019 (http://www.sec.gov/CIK)2017-06-30Short Term Debt Type [Domain]Long Term Debt Fair Value80300000000iso4217:USD-8
370000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Debt Instrument Name [Domain]Proceeds From Lines Of Credit0iso4217:USDINF
380000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Short Term Debt Type [Domain]Proceeds From Lines Of Credit0iso4217:USDINF
390000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Debt Instrument Name [Domain]Proceeds From Lines Of Credit0iso4217:USDINF
400000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Short Term Debt Type [Domain]Proceeds From Lines Of Credit0iso4217:USDINF
410000789019 (http://www.sec.gov/CIK)2016-06-30Commercial Paper [Member]Short Term Debt Weighted Average Interest Rate0.0043pure4
420000789019 (http://www.sec.gov/CIK)2017-06-30Commercial Paper [Member]Short Term Debt Weighted Average Interest Rate0.0101pure4

Fact Table
Network
100880 - Disclosure - Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]us-gaap:DebtInstrumentFaceAmount (label)750000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]us-gaap:DebtInstrumentFaceAmount (label)750000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)500000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)500000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]us-gaap:DebtInstrumentFaceAmount (label)2000000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)3000000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)3000000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]us-gaap:DebtInstrumentFaceAmount (label)2500000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]us-gaap:DebtInstrumentFaceAmount (label)3000000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]us-gaap:DebtInstrumentFaceAmount (label)500000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]us-gaap:DebtInstrumentFaceAmount (label)500000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]us-gaap:DebtInstrumentFaceAmount (label)2750000000iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point One Percent Due August Eight Twenty Nineteen [Member]us-gaap:DebtInstrumentFaceAmount (label)2500000000iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]us-gaap:DebtInstrumentFaceAmount (label)1250000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]us-gaap:DebtInstrumentFaceAmount (label)1250000000iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]us-gaap:DebtInstrumentFaceAmount (label)1750000000iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]us-gaap:DebtInstrumentFaceAmount (label)1750000000iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]us-gaap:DebtInstrumentFaceAmount (label)450000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]us-gaap:DebtInstrumentFaceAmount (label)450000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)900000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)900000000iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]us-gaap:DebtInstrumentFaceAmount (label)1944000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]us-gaap:DebtInstrumentFaceAmount (label)1996000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)3000000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)3000000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1750000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)1750000000iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)500000000iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)500000000iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]us-gaap:DebtInstrumentFaceAmount (label)4500000000iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]us-gaap:DebtInstrumentFaceAmount (label)4000000000iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]us-gaap:DebtInstrumentFaceAmount (label)4000000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)1750000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]us-gaap:DebtInstrumentFaceAmount (label)1944000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]us-gaap:DebtInstrumentFaceAmount (label)1996000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)750000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)750000000iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
640000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
650000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
660000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)611000000iso4217:USD-6
670000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)627000000iso4217:USD-6
680000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
690000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)1000000000iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]us-gaap:DebtInstrumentFaceAmount (label)1500000000iso4217:USD-6
730000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
740000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]us-gaap:DebtInstrumentFaceAmount (label)2250000000iso4217:USD-6
750000789019 (http://www.sec.gov/CIK)2016-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]us-gaap:DebtInstrumentFaceAmount (label)600000000iso4217:USD-6
760000789019 (http://www.sec.gov/CIK)2017-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]us-gaap:DebtInstrumentFaceAmount (label)600000000iso4217:USD-6
770000789019 (http://www.sec.gov/CIK)2017-06-30Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]us-gaap:DebtInstrumentFaceAmount (label)18000000iso4217:USD-6
780000789019 (http://www.sec.gov/CIK)2016-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Effective Percentage0.05361pure5
790000789019 (http://www.sec.gov/CIK)2017-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Effective Percentage0.05361pure5
800000789019 (http://www.sec.gov/CIK)2016-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Effective Percentage0.0524pure5
810000789019 (http://www.sec.gov/CIK)2017-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Effective Percentage0.0524pure5
820000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04063pure5
830000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04063pure5
840000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.04918pure5
850000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.04918pure5
860000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04528pure5
870000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Effective Percentage0.04567pure5
880000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Effective Percentage0.04567pure5
890000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04492pure5
900000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04492pure5
910000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04152pure5
920000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04782pure5
930000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Effective Percentage0.04782pure5
940000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.04287pure5
950000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.04379pure5
960000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.04379pure5
970000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.0426pure5
980000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.0426pure5
990000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.04082pure5
1000000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.04082pure5
1010000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01952pure5
1020000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01935pure5
1030000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.01935pure5
1040000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.01642pure5
1050000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.01203pure5
1060000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01824pure5
1070000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01824pure5
1080000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01396pure5
1090000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01396pure5
1100000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01106pure5
1110000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Effective Percentage0.01106pure5
1120000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03604pure5
1130000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03604pure5
1140000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Effective Percentage0.03571pure5
1150000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Effective Percentage0.03571pure5
1160000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Interest Rate Effective Percentage0.0351pure5
1170000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Interest Rate Effective Percentage0.04033pure5
1180000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Effective Percentage0.03218pure5
1190000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Effective Percentage0.03218pure5
1200000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03176pure5
1210000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.03176pure5
1220000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.038pure5
1230000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Effective Percentage0.038pure5
1240000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03829pure5
1250000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03829pure5
1260000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Interest Rate Effective Percentage0.03743pure5
1270000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03726pure5
1280000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.03726pure5
1290000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Interest Rate Effective Percentage0.03383pure5
1300000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.03137pure5
1310000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.03137pure5
1320000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Interest Rate Effective Percentage0.03041pure5
1330000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Interest Rate Effective Percentage0.02464pure5
1340000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.0252pure5
1350000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.02233pure5
1360000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Effective Percentage0.02233pure5
1370000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02239pure5
1380000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02239pure5
1390000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.02772pure5
1400000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Effective Percentage0.02772pure5
1410000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02717pure5
1420000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02717pure5
1430000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Effective Percentage0.0269pure5
1440000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Effective Percentage0.0269pure5
1450000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02466pure5
1460000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Effective Percentage0.02466pure5
1470000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02465pure5
1480000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02465pure5
1490000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Interest Rate Effective Percentage0.02101pure5
1500000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.02093pure5
1510000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Effective Percentage0.02093pure5
1520000789019 (http://www.sec.gov/CIK)2016-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Effective Percentage0.01084pure5
1530000789019 (http://www.sec.gov/CIK)2017-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Effective Percentage0.01084pure5
1540000789019 (http://www.sec.gov/CIK)2017-06-30Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Interest Rate Effective Percentage0.005pure5
1550000789019 (http://www.sec.gov/CIK)2016-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Stated Percentage0.053pureINF
1560000789019 (http://www.sec.gov/CIK)2017-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Interest Rate Stated Percentage0.053pureINF
1570000789019 (http://www.sec.gov/CIK)2016-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Stated Percentage0.052pureINF
1580000789019 (http://www.sec.gov/CIK)2017-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Interest Rate Stated Percentage0.052pureINF
1590000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04pureINF
1600000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.04pureINF
1610000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.04875pureINF
1620000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.04875pureINF
1630000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.045pureINF
1640000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Stated Percentage0.045pureINF
1650000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Interest Rate Stated Percentage0.045pureINF
1660000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.0445pureINF
1670000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.0445pureINF
1680000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.041pureINF
1690000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.0475pureINF
1700000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Interest Rate Stated Percentage0.0475pureINF
1710000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.0425pureINF
1720000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.042pureINF
1730000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.042pureINF
1740000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.042pureINF
1750000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.042pureINF
1760000789019 (http://www.sec.gov/CIK)2016-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.04pureINF
1770000789019 (http://www.sec.gov/CIK)2017-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.04pureINF
1780000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.0185pureINF
1790000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.0185pureINF
1800000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.0185pureINF
1810000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.0155pureINF
1820000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.011pureINF
1830000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01625pureINF
1840000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01625pureINF
1850000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.013pureINF
1860000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.013pureINF
1870000789019 (http://www.sec.gov/CIK)2016-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01pureINF
1880000789019 (http://www.sec.gov/CIK)2017-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Interest Rate Stated Percentage0.01pureINF
1890000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.035pureINF
1900000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Interest Rate Stated Percentage0.035pureINF
1910000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Stated Percentage0.035pureINF
1920000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Interest Rate Stated Percentage0.035pureINF
1930000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Interest Rate Stated Percentage0.0345pureINF
1940000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Interest Rate Stated Percentage0.0395pureINF
1950000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Stated Percentage0.03125pureINF
1960000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Interest Rate Stated Percentage0.03125pureINF
1970000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03125pureINF
1980000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.03125pureINF
1990000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.0375pureINF
2000000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Interest Rate Stated Percentage0.0375pureINF
2010000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.0375pureINF
2020000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Interest Rate Stated Percentage0.0375pureINF
2030000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Interest Rate Stated Percentage0.037pureINF
2040000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03625pureINF
2050000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.03625pureINF
2060000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Interest Rate Stated Percentage0.033pureINF
2070000789019 (http://www.sec.gov/CIK)2016-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.03pureINF
2080000789019 (http://www.sec.gov/CIK)2017-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.03pureINF
2090000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Interest Rate Stated Percentage0.02875pureINF
2100000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Interest Rate Stated Percentage0.024pureINF
2110000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.024pureINF
2120000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.02125pureINF
2130000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Interest Rate Stated Percentage0.02125pureINF
2140000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02125pureINF
2150000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02125pureINF
2160000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.027pureINF
2170000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Interest Rate Stated Percentage0.027pureINF
2180000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.0265pureINF
2190000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.0265pureINF
2200000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02625pureINF
2210000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02625pureINF
2220000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02375pureINF
2230000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Interest Rate Stated Percentage0.02375pureINF
2240000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02375pureINF
2250000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02375pureINF
2260000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Interest Rate Stated Percentage0.02pureINF
2270000789019 (http://www.sec.gov/CIK)2016-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.02pureINF
2280000789019 (http://www.sec.gov/CIK)2017-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Interest Rate Stated Percentage0.02pureINF
2290000789019 (http://www.sec.gov/CIK)2016-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Stated Percentage0.00875pureINF
2300000789019 (http://www.sec.gov/CIK)2017-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Interest Rate Stated Percentage0.00875pureINF
2310000789019 (http://www.sec.gov/CIK)2017-06-30Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Interest Rate Stated Percentage0.005pureINF
2320000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Maturity Date2041-02-08
2330000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Five Point Three Percent Due February Eight Twenty Forty One [Member]Debt Instrument Maturity Date2041-02-08
2340000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Maturity Date2039-06-01
2350000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Five Point Two Percent Due June One Twenty Thirty Nine [Member]Debt Instrument Maturity Date2039-06-01
2360000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-02-12
2370000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Percent Due February Twelve Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-02-12
2380000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Maturity Date2043-12-15
2390000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Eight Seven Five Percent Due December Fifteen Twenty Forty Three [Member]Debt Instrument Maturity Date2043-12-15
2400000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Five Percent Due February Six Twenty Fifty Seven [Member]Debt Instrument Maturity Date2057-02-06
2410000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Maturity Date2040-10-01
2420000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Five Percent Due October One Twenty Forty [Member]Debt Instrument Maturity Date2040-10-01
2430000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Maturity Date2045-11-03
2440000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Four Five Percent Due November Three Twenty Forty Five [Member]Debt Instrument Maturity Date2045-11-03
2450000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point One Percent Due February Six Twenty Thirty Seven [Member]Debt Instrument Maturity Date2037-02-06
2460000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-11-03
2470000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Seven Five Percent Due November Three Twenty Fifty Five [Member]Debt Instrument Maturity Date2055-11-03
2480000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Two Five Percent Due February Six Twenty Forty Seven [Member]Debt Instrument Maturity Date2047-02-06
2490000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-06-01
2500000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Two Percent Due June One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-06-01
2510000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-11-03
2520000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Two Percent Due November Three Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-11-03
2530000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Maturity Date2021-02-08
2540000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Four Point Zero Percent Due February Eight Twenty Twenty One [Member]Debt Instrument Maturity Date2021-02-08
2550000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes One Point Eight Five Percent Due February Six Twenty Twenty [Member]Debt Instrument Maturity Date2020-02-06
2560000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Maturity Date2020-02-12
2570000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes One Point Eight Five Percent Due February Twelve Twenty Twenty [Member]Debt Instrument Maturity Date2020-02-12
2580000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes One Point Five Five Percent Due August Eight Twenty Twenty One [Member]Debt Instrument Maturity Date2021-08-08
2590000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes One Point One Percent Due August Eight Twenty Nineteen [Member]Debt Instrument Maturity Date2019-08-08
2600000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Maturity Date2018-12-06
2610000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes One Point Six Two Five Percent Due December Six Twenty Eighteen [Member]Debt Instrument Maturity Date2018-12-06
2620000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Maturity Date2018-11-03
2630000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes One Point Three Zero Percent Due November Three Twenty Eighteen [Member]Debt Instrument Maturity Date2018-11-03
2640000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Maturity Date2018-05-01
2650000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes One Point Zero Percent Due May One Twenty Eighteen [Member]Debt Instrument Maturity Date2018-05-01
2660000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-02-12
2670000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Five Percent Due February Twelve Twenty Thirty Five [Member]Debt Instrument Maturity Date2035-02-12
2680000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Maturity Date2042-11-15
2690000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Five Percent Due November Fifteen Twenty Forty Two [Member]Debt Instrument Maturity Date2042-11-15
2700000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Four Five Percent Due August Eight Twenty Thirty Six [Member]Debt Instrument Maturity Date2036-08-08
2710000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Nine Five Percent Due August Eight Twenty Fifty Six [Member]Debt Instrument Maturity Date2056-08-08
2720000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Maturity Date2028-12-06
2730000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point One Two Five Percent Due December Six Twenty Twenty Eight [Member]Debt Instrument Maturity Date2028-12-06
2740000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-11-03
2750000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point One Two Five Percent Due November Three Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-11-03
2760000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Maturity Date2045-02-12
2770000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Seven Five Percent Due February Twelve Twenty Forty Five [Member]Debt Instrument Maturity Date2045-02-12
2780000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Maturity Date2043-05-01
2790000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Seven Five Percent Due May One Twenty Forty Three [Member]Debt Instrument Maturity Date2043-05-01
2800000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Seven Percent Due August Eight Twenty Forty Six [Member]Debt Instrument Maturity Date2046-08-08
2810000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-12-15
2820000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Six Two Five Percent Due December Fifteen Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-12-15
2830000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Three Percent Due February Six Twenty Twenty Seven [Member]Debt Instrument Maturity Date2027-02-06
2840000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Maturity Date2020-10-01
2850000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Three Point Zero Percent Due October One Twenty Twenty [Member]Debt Instrument Maturity Date2020-10-01
2860000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Eight Seven Five Percent Due February Six Twenty Twenty Four [Member]Debt Instrument Maturity Date2024-02-06
2870000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Four Percent Due August Eight Twenty Twenty Six [Member]Debt Instrument Maturity Date2026-08-08
2880000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Four Percent Due February Six Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-02-06
2890000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Maturity Date2021-12-06
2900000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point One Two Five Percent Due December Six Twenty Twenty One [Member]Debt Instrument Maturity Date2021-12-06
2910000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-15
2920000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point One Two Five Percent Due November Fifteen Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-15
2930000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-02-12
2940000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Seven Percent Due February Twelve Twenty Twenty Five [Member]Debt Instrument Maturity Date2025-02-12
2950000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-03
2960000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Six Five Percent Due November Three Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-11-03
2970000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Maturity Date2033-05-02
2980000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Six Two Five Percent Due May Two Twenty Thirty Three [Member]Debt Instrument Maturity Date2033-05-02
2990000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-02-12
3000000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Three Seven Five Percent Due February Twelve Twenty Twenty Two [Member]Debt Instrument Maturity Date2022-02-12
3010000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-05-01
3020000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Three Seven Five Percent Due May One Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-05-01
3030000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Zero Percent Due August Eight Twenty Twenty Three [Member]Debt Instrument Maturity Date2023-08-08
3040000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Maturity Date2020-11-03
3050000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Two Point Zero Percent Due November Three Twenty Twenty [Member]Debt Instrument Maturity Date2020-11-03
3060000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Maturity Date2017-11-15
3070000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Zero Point Eight Seven Five Percent Due November Fifteen Twenty Seventeen [Member]Debt Instrument Maturity Date2017-11-15
3080000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Notes Zero Point Five Percent Due November One Twenty Nineteen [Member]Debt Instrument Maturity Date2019-11-01

Fact Table
Network
100890 - Disclosure - Long-term Debt (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongTermDebtParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-08-31U S D Debt Issued In Period [Member]us-gaap:DebtInstrumentFaceAmount (label)19800000000iso4217:USD-8
20000789019 (http://www.sec.gov/CIK)2017-02-28U S D Debt Issued In Period [Member]us-gaap:DebtInstrumentFaceAmount (label)17000000000iso4217:USD-8

Fact Table
Network
100900 - Disclosure - Maturities of Long-term Debt (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureMaturitiesOfLongTermDebtDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100910 - Disclosure - Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureProvisionForIncomeTaxesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100920 - Disclosure - Income Taxes - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Regional Operating Centers [Member]Foreign Earnings Taxed At Rates Lower Than Us Rate0.73pure2
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Regional Operating Centers [Member]Foreign Earnings Taxed At Rates Lower Than Us Rate0.69pure2
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Regional Operating Centers [Member]Foreign Earnings Taxed At Rates Lower Than Us Rate0.64pure2
40000789019 (http://www.sec.gov/CIK)2016-06-30Income Statement Location [Domain]Accrued Income Taxes Noncurrent11800000000iso4217:USD-8
50000789019 (http://www.sec.gov/CIK)2016-06-30Income Tax Authority [Domain]Accrued Income Taxes Noncurrent11800000000iso4217:USD-8
60000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]Accrued Income Taxes Noncurrent13500000000iso4217:USD-8
70000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]Accrued Income Taxes Noncurrent13500000000iso4217:USD-8
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Statement Location [Domain]Deferred Federal State And Local Tax Expense Benefit-2700000000iso4217:USD-8
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Tax Authority [Domain]Deferred Federal State And Local Tax Expense Benefit-2700000000iso4217:USD-8
100000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Statement Location [Domain]Deferred Foreign Income Tax Expense Benefit-617000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Tax Authority [Domain]Deferred Foreign Income Tax Expense Benefit-617000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-06-30Income Statement Location [Domain]us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (label)4252000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Income Tax Authority [Domain]us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (label)4252000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (label)4809000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (label)4809000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2016-06-30Restatement Adjustment [Member]us-gaap:DeferredTaxAssetsOperatingLossCarryforwards (label)2500000000iso4217:USD-8
170000789019 (http://www.sec.gov/CIK)2016-06-30Income Statement Location [Domain]us-gaap:DeferredTaxAssetsValuationAllowance (label)4729000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2016-06-30Income Tax Authority [Domain]us-gaap:DeferredTaxAssetsValuationAllowance (label)4729000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]us-gaap:DeferredTaxAssetsValuationAllowance (label)3310000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]us-gaap:DeferredTaxAssetsValuationAllowance (label)3310000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-06-30Restatement Adjustment [Member]us-gaap:DeferredTaxAssetsValuationAllowance (label)2500000000iso4217:USD-8
220000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]Deferred Tax Liability Not Recognized Amount Of Unrecognized Deferred Tax Liability Undistributed Earnings Of Foreign Subsidiaries45000000000iso4217:USD-9
230000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]Deferred Tax Liability Not Recognized Amount Of Unrecognized Deferred Tax Liability Undistributed Earnings Of Foreign Subsidiaries45000000000iso4217:USD-9
240000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Statement Location [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)7363000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Tax Authority [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)7363000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Statement Location [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)-325000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Tax Authority [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)-325000000iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Statement Location [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)453000000iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Tax Authority [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)453000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:WindowsTenDeferralMember (label)us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)6000000000iso4217:USD-8
310000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:WindowsTenDeferralMember (label)us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)6400000000iso4217:USD-8
320000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Impairment Integration And Restructuring Expenses [Member]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)-1100000000iso4217:USD-8
330000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Phone Business [Member]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic (label)-1100000000iso4217:USD-8
340000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Statement Location [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)11144000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Tax Authority [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)11144000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Statement Location [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)20076000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Tax Authority [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)20076000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Statement Location [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)22696000000iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Tax Authority [Domain]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)22696000000iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:WindowsTenDeferralMember (label)us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)588000000iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:WindowsTenDeferralMember (label)us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)317000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Impairment Integration And Restructuring Expenses [Member]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)-8900000000iso4217:USD-8
430000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Phone Business [Member]us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign (label)-8900000000iso4217:USD-8
440000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Statement Location [Domain]Income Taxes Paid Net4400000000iso4217:USD-8
450000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Tax Authority [Domain]Income Taxes Paid Net4400000000iso4217:USD-8
460000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Statement Location [Domain]Income Taxes Paid Net3900000000iso4217:USD-8
470000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Tax Authority [Domain]Income Taxes Paid Net3900000000iso4217:USD-8
480000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Statement Location [Domain]Income Taxes Paid Net2400000000iso4217:USD-8
490000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Tax Authority [Domain]Income Taxes Paid Net2400000000iso4217:USD-8
500000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]Operating Loss Carryforwards13700000000iso4217:USD-8
510000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]Operating Loss Carryforwards13700000000iso4217:USD-8
520000789019 (http://www.sec.gov/CIK)2017-06-30Foreign Country [Member]Operating Loss Carryforwards11100000000iso4217:USD-8
530000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]Undistributed Earnings Of Foreign Subsidiaries142000000000iso4217:USD-9
540000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]Undistributed Earnings Of Foreign Subsidiaries142000000000iso4217:USD-9
550000789019 (http://www.sec.gov/CIK)2014-06-30Income Statement Location [Domain]us-gaap:UnrecognizedTaxBenefits (label)8714000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2014-06-30Income Tax Authority [Domain]us-gaap:UnrecognizedTaxBenefits (label)8714000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2015-06-30Income Statement Location [Domain]us-gaap:UnrecognizedTaxBenefits (label)9599000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2015-06-30Income Tax Authority [Domain]us-gaap:UnrecognizedTaxBenefits (label)9599000000iso4217:USD-6
590000789019 (http://www.sec.gov/CIK)2016-06-30Income Statement Location [Domain]us-gaap:UnrecognizedTaxBenefits (label)10164000000iso4217:USD-6
600000789019 (http://www.sec.gov/CIK)2016-06-30Income Tax Authority [Domain]us-gaap:UnrecognizedTaxBenefits (label)10164000000iso4217:USD-6
610000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]us-gaap:UnrecognizedTaxBenefits (label)11737000000iso4217:USD-6
620000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]us-gaap:UnrecognizedTaxBenefits (label)11737000000iso4217:USD-6
630000789019 (http://www.sec.gov/CIK)2015-06-30Income Statement Location [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued1700000000iso4217:USD-8
640000789019 (http://www.sec.gov/CIK)2015-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued1700000000iso4217:USD-8
650000789019 (http://www.sec.gov/CIK)2016-06-30Income Statement Location [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued1900000000iso4217:USD-8
660000789019 (http://www.sec.gov/CIK)2016-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued1900000000iso4217:USD-8
670000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued2300000000iso4217:USD-8
680000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Accrued2300000000iso4217:USD-8
690000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Statement Location [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense237000000iso4217:USD-6
700000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense237000000iso4217:USD-6
710000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Statement Location [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense163000000iso4217:USD-6
720000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense163000000iso4217:USD-6
730000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Statement Location [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense399000000iso4217:USD-6
740000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits Income Tax Penalties And Interest Expense399000000iso4217:USD-6
750000789019 (http://www.sec.gov/CIK)2015-06-30Income Statement Location [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate7900000000iso4217:USD-8
760000789019 (http://www.sec.gov/CIK)2015-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate7900000000iso4217:USD-8
770000789019 (http://www.sec.gov/CIK)2016-06-30Income Statement Location [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate8800000000iso4217:USD-8
780000789019 (http://www.sec.gov/CIK)2016-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate8800000000iso4217:USD-8
790000789019 (http://www.sec.gov/CIK)2017-06-30Income Statement Location [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate10200000000iso4217:USD-8
800000789019 (http://www.sec.gov/CIK)2017-06-30Income Tax Authority [Domain]Unrecognized Tax Benefits That Would Impact Effective Tax Rate10200000000iso4217:USD-8

Fact Table
Network
100930 - Disclosure - Income (Loss) Before Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeLossBeforeIncomeTaxesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100940 - Disclosure - Difference Between Income Taxes Computed at Federal Statutory Rate and Provision for Income Taxes (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100950 - Disclosure - Deferred Income Tax Assets and Liabilities (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Other Noncurrent Assets [Member]Deferred Tax Assets Liabilities Net219000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Assets [Member]Deferred Tax Assets Liabilities Net2412000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Deferred Income Tax Liabilities Noncurrent [Member]Deferred Tax Liabilities1476000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Deferred Income Tax Liabilities Noncurrent [Member]Deferred Tax Liabilities531000000iso4217:USD-6

Fact Table
Network
100960 - Disclosure - Changes in Unrecognized Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInUnrecognizedTaxBenefitsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
100970 - Disclosure - Income Taxes - Additional Information Regarding Examinations (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeTaxesAdditionalInformationRegardingExaminationsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2011-01-01 to 2011-03-31Internal Revenue Service I R S [Member]Income Tax Examination Year Under Examination2004
20000789019 (http://www.sec.gov/CIK)2011-01-01 to 2011-03-31Earliest Tax Year [Member]Income Tax Examination Year Under Examination2004
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Internal Revenue Service I R S [Member]Income Tax Examination Year Under Examination2007
40000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Earliest Tax Year [Member]Income Tax Examination Year Under Examination2007
50000789019 (http://www.sec.gov/CIK)2011-01-01 to 2011-03-31Internal Revenue Service I R S [Member]Income Tax Examination Year Under Examination2006
60000789019 (http://www.sec.gov/CIK)2011-01-01 to 2011-03-31Latest Tax Year [Member]Income Tax Examination Year Under Examination2006
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Internal Revenue Service I R S [Member]Income Tax Examination Year Under Examination2009
80000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Latest Tax Year [Member]Income Tax Examination Year Under Examination2009
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Country [Member]Open Tax Year1996
100000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Earliest Tax Year [Member]Open Tax Year1996
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Foreign Country [Member]Open Tax Year2017
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Latest Tax Year [Member]Open Tax Year2017
130000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Internal Revenue Service I R S [Member]Open Tax Year2010
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Earliest Tax Year [Member]Open Tax Year2010
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Internal Revenue Service I R S [Member]Open Tax Year2016
160000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Latest Tax Year [Member]Open Tax Year2016

Fact Table
Network
100980 - Disclosure - Restructuring Charges - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRestructuringChargesAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Phone Hardware Restructuring Plan [Member]Restructuring And Related Activities Completion Date2017-06-30
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Twenty Seventeen Restructuring Plan [Member]Restructuring And Related Activities Completion Date2018-06-30
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:TwentySixteenRestructuringPlanMember (label)Restructuring And Related Activities Completion Date2017-06-30
40000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Phone Hardware Restructuring Plan [Member]Restructuring And Related Cost Number Of Positions Eliminated7400msft:Position0
50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:TwentySixteenRestructuringPlanMember (label)Restructuring And Related Cost Number Of Positions Eliminated4700msft:Position0
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Type Of Restructuring [Domain]Restructuring Charges306000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restructuring Plan [Domain]Restructuring Charges306000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Twenty Seventeen Restructuring Plan [Member]Restructuring Charges306000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Phone Hardware Restructuring Plan [Member]Restructuring Charges780000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:TwentySixteenRestructuringPlanMember (label)Restructuring Charges501000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30msft:TwentySixteenRestructuringPlanMember (label)Restructuring Charges480000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Phone Hardware Restructuring Plan [Member]Restructuring Reserve Accrual Adjustment1-21000000iso4217:USD-6

Fact Table
Network
100990 - Disclosure - Changes in Restructuring Liability (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureChangesInRestructuringLiabilityDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Payments For Restructuring367000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Other Restructuring [Member]Payments For Restructuring101000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Other Restructuring [Member]Restructuring Charges0iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-06-30Employee Severance [Member]us-gaap:RestructuringReserve (label)470000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Employee Severance [Member]us-gaap:RestructuringReserve (label)373000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Other Restructuring [Member]us-gaap:RestructuringReserve (label)239000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Other Restructuring [Member]us-gaap:RestructuringReserve (label)59000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Restructuring Reserve Settled Without Cash236000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Other Restructuring [Member]Restructuring Reserve Settled Without Cash279000000iso4217:USD-6

Fact Table
Network
101000 - Disclosure - Unearned Revenue by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnearnedRevenueBySegmentDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Consolidation Items [Domain]Deferred Revenue33909000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Consolidation Items [Domain]Deferred Revenue44479000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Corporate And Reconciling Items [Member]Deferred Revenue6606000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Corporate And Reconciling Items [Member]Deferred Revenue13304000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30Operating Segments [Member]Deferred Revenue11472000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-06-30Intelligent Cloud [Member]Deferred Revenue11472000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Operating Segments [Member]Deferred Revenue13464000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2017-06-30Intelligent Cloud [Member]Deferred Revenue13464000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-06-30Operating Segments [Member]Deferred Revenue3334000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2016-06-30More Personal Computing [Member]Deferred Revenue3334000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2017-06-30Operating Segments [Member]Deferred Revenue3420000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30More Personal Computing [Member]Deferred Revenue3420000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2016-06-30Operating Segments [Member]Deferred Revenue12497000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-06-30Productivity And Business Processes [Member]Deferred Revenue12497000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2017-06-30Operating Segments [Member]Deferred Revenue14291000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2017-06-30Productivity And Business Processes [Member]Deferred Revenue14291000000iso4217:USD-6

Fact Table
Network
101010 - Disclosure - Commitments - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCommitmentsAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-06-30Other Current Liabilities [Member]Capital Lease Obligations Current25000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Other Current Liabilities [Member]Capital Lease Obligations Current113000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-06-30Other Noncurrent Liabilities [Member]Capital Lease Obligations Noncurrent761000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Other Noncurrent Liabilities [Member]Capital Lease Obligations Noncurrent2400000000iso4217:USD-8
50000789019 (http://www.sec.gov/CIK)2017-06-30Building Building Improvements And Leasehold Improvements [Member]Commitments Fair Value Disclosure1100000000iso4217:USD-8
60000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Building [Member]Lease And Rental Expense989000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Building [Member]Lease And Rental Expense1000000000iso4217:USD-8
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Building [Member]Lease And Rental Expense1300000000iso4217:USD-8
90000789019 (http://www.sec.gov/CIK)2017-06-30Capital Lease [Member]Unrecorded Unconditional Purchase Obligation Balance Sheet Amount3200000000iso4217:USD-8

Fact Table
Network
101020 - Disclosure - Future Minimum Rental Commitments Under Non-cancellable Operating Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumRentalCommitmentsUnderNonCancellableOperatingLeasesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-06-30Building [Member]Operating Leases Future Minimum Payments Due7872000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2017-06-30Building [Member]Operating Leases Future Minimum Payments Due Current1292000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30Building [Member]Operating Leases Future Minimum Payments Due In Five Years749000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-06-30Building [Member]Operating Leases Future Minimum Payments Due In Four Years908000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2017-06-30Building [Member]Operating Leases Future Minimum Payments Due In Three Years1115000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30Building [Member]Operating Leases Future Minimum Payments Due In Two Years1220000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2017-06-30Building [Member]Operating Leases Future Minimum Payments Due Thereafter2588000000iso4217:USD-6

Fact Table
Network
101030 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101040 - Disclosure - Future Minimum Lease Payments under Non-cancellable Capital Leases (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101050 - Disclosure - Contingencies - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureContingenciesAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101060 - Disclosure - Shares of Common Stock Outstanding (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSharesOfCommonStockOutstandingDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101070 - Disclosure - Stockholders' Equity - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockholdersEquityAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-09-20Share Repurchase Program Twenty Sixteen [Member]Stock Repurchase Program Authorized Amount140000000000iso4217:USDINF
20000789019 (http://www.sec.gov/CIK)2013-09-16Share Repurchase Program Twenty Thirteen [Member]Stock Repurchase Program Authorized Amount140000000000iso4217:USDINF
30000789019 (http://www.sec.gov/CIK)2017-06-30Share Repurchase Program Twenty Sixteen [Member]Stock Repurchase Program Remaining Authorized Repurchase Amount136800000000iso4217:USD-8

Fact Table
Network
101080 - Disclosure - Share Repurchases (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureShareRepurchasesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Share Repurchase Program Twenty Sixteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)25000000shares-6
20000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Share Repurchase Program Twenty Sixteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)23000000shares-6
30000789019 (http://www.sec.gov/CIK)2014-07-01 to 2014-09-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)43000000shares-6
40000789019 (http://www.sec.gov/CIK)2014-10-01 to 2014-12-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)43000000shares-6
50000789019 (http://www.sec.gov/CIK)2015-01-01 to 2015-03-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)116000000shares-6
60000789019 (http://www.sec.gov/CIK)2015-04-01 to 2015-06-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)93000000shares-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)89000000shares-6
80000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)66000000shares-6
90000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)69000000shares-6
100000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)70000000shares-6
110000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)63000000shares-6
120000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodShares (label)59000000shares-6
130000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Share Repurchase Program Twenty Sixteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)1600000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Share Repurchase Program Twenty Sixteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)1600000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 to 2014-09-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)2000000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2014-10-01 to 2014-12-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)2000000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2015-01-01 to 2015-03-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)5000000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2015-04-01 to 2015-06-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)4209000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)4000000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)3600000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)3600000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)3600000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)3550000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Share Repurchase Program Twenty Thirteen [Member]us-gaap:StockRepurchasedDuringPeriodValue (label)3533000000iso4217:USD-6

Fact Table
Network
101090 - Disclosure - Dividends Declared (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureDividendsDeclaredDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101100 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Oci Before Reclassifications Net Of Tax Attributable To Parent1152000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Oci Before Reclassifications Net Of Tax Attributable To Parent351000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Oci Before Reclassifications Net Of Tax Attributable To Parent328000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Oci Before Reclassifications Net Of Tax Attributable To Parent110000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Oci Before Reclassifications Net Of Tax Attributable To Parent219000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Oci Before Reclassifications Net Of Tax Attributable To Parent517000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Translation Adjustment And Other [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1383000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Translation Adjustment And Other [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-519000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Translation Adjustment And Other [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)228000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)559000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-238000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-218000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Unrealized Investment Gain Loss [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-362000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Unrealized Investment Gain Loss [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-228000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Unrealized Investment Gain Loss [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1116000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Other Comprehensive Income [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1186000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Other Comprehensive Income [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-985000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Other Comprehensive Income [Member]us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (label)-1106000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Nonoperating Income Expense [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent728000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent728000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Nonoperating Income Expense [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent688000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent688000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Nonoperating Income Expense [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent2513000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent2513000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Sales [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent608000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent608000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Sales [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent625000000iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent625000000iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Sales [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent555000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Before Tax Attributable To Parent555000000iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent593000000iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent589000000iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent546000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent472000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent447000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Net Of Tax Attributable To Parent1633000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Tax15000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Tax36000000iso4217:USD-6
390000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Reclassification From Aoci Current Period Tax9000000iso4217:USD-6
400000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Tax256000000iso4217:USD-6
410000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Tax241000000iso4217:USD-6
420000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Reclassification From Aoci Current Period Tax880000000iso4217:USD-6
430000789019 (http://www.sec.gov/CIK)2014-06-30Accumulated Translation Adjustment And Other [Member]us-gaap:StockholdersEquity (label)146000000iso4217:USD-6
440000789019 (http://www.sec.gov/CIK)2015-06-30Accumulated Translation Adjustment And Other [Member]us-gaap:StockholdersEquity (label)-1237000000iso4217:USD-6
450000789019 (http://www.sec.gov/CIK)2016-06-30Accumulated Translation Adjustment And Other [Member]us-gaap:StockholdersEquity (label)-1756000000iso4217:USD-6
460000789019 (http://www.sec.gov/CIK)2017-06-30Accumulated Translation Adjustment And Other [Member]us-gaap:StockholdersEquity (label)-1528000000iso4217:USD-6
470000789019 (http://www.sec.gov/CIK)2014-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]us-gaap:StockholdersEquity (label)31000000iso4217:USD-6
480000789019 (http://www.sec.gov/CIK)2015-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]us-gaap:StockholdersEquity (label)590000000iso4217:USD-6
490000789019 (http://www.sec.gov/CIK)2016-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]us-gaap:StockholdersEquity (label)352000000iso4217:USD-6
500000789019 (http://www.sec.gov/CIK)2017-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]us-gaap:StockholdersEquity (label)134000000iso4217:USD-6
510000789019 (http://www.sec.gov/CIK)2014-06-30Accumulated Net Unrealized Investment Gain Loss [Member]us-gaap:StockholdersEquity (label)3531000000iso4217:USD-6
520000789019 (http://www.sec.gov/CIK)2015-06-30Accumulated Net Unrealized Investment Gain Loss [Member]us-gaap:StockholdersEquity (label)3169000000iso4217:USD-6
530000789019 (http://www.sec.gov/CIK)2016-06-30Accumulated Net Unrealized Investment Gain Loss [Member]us-gaap:StockholdersEquity (label)2941000000iso4217:USD-6
540000789019 (http://www.sec.gov/CIK)2017-06-30Accumulated Net Unrealized Investment Gain Loss [Member]us-gaap:StockholdersEquity (label)1825000000iso4217:USD-6
550000789019 (http://www.sec.gov/CIK)2014-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)3708000000iso4217:USD-6
560000789019 (http://www.sec.gov/CIK)2015-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)2522000000iso4217:USD-6
570000789019 (http://www.sec.gov/CIK)2016-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)1537000000iso4217:USD-6
580000789019 (http://www.sec.gov/CIK)2017-06-30Accumulated Other Comprehensive Income [Member]us-gaap:StockholdersEquity (label)431000000iso4217:USD-6

Fact Table
Network
101110 - Disclosure - Summary of Changes in Accumulated Other Comprehensive Income by Component (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Other Comprehensive Income Loss Before Reclassifications Tax35000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Other Comprehensive Income Loss Before Reclassifications Tax24000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Gain Loss From Designated Or Qualifying Cash Flow Hedges [Member]Other Comprehensive Income Loss Before Reclassifications Tax4000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax59000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax120000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Net Unrealized Investment Gain Loss [Member]Other Comprehensive Income Loss Before Reclassifications Tax267000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent116000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent1-33000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Accumulated Translation Adjustment And Other [Member]Other Comprehensive Income Loss Tax Portion Attributable To Parent19000000iso4217:USD-6

Fact Table
Network
101120 - Disclosure - Employee Stock and Savings Plans - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeeStockAndSavingsPlansAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Defined Contribution Plan Cost Recognized454000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Cost Recognized454000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Plan Name [Domain]Defined Contribution Plan Cost Recognized454000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Defined Contribution Plan Cost Recognized549000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Cost Recognized549000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Plan Name [Domain]Defined Contribution Plan Cost Recognized549000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Defined Contribution Plan Cost Recognized734000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Cost Recognized734000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Plan Name [Domain]Defined Contribution Plan Cost Recognized734000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30I R S Compensation Limit [Member]Defined Contribution Plan Employer Matching Contribution Percent0.03pureINF
110000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30us-gaap:MaximumMember (label)Defined Contribution Plan Employer Matching Contribution Percent0.03pureINF
120000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-12-31I R S Compensation Limit [Member]Defined Contribution Plan Employer Matching Contribution Percent0.03pureINF
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-12-31us-gaap:MaximumMember (label)Defined Contribution Plan Employer Matching Contribution Percent0.03pureINF
140000789019 (http://www.sec.gov/CIK)2016-01-01 to 2017-06-30I R S Compensation Limit [Member]Defined Contribution Plan Employer Matching Contribution Percent0.5pureINF
150000789019 (http://www.sec.gov/CIK)2016-01-01 to 2017-06-30us-gaap:MaximumMember (label)Defined Contribution Plan Employer Matching Contribution Percent0.5pureINF
160000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30us-gaap:MaximumMember (label)Defined Contribution Plan Employer Matching Contribution Percent0.03pureINF
170000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-12-31us-gaap:MaximumMember (label)Defined Contribution Plan Employer Matching Contribution Percent0.03pureINF
180000789019 (http://www.sec.gov/CIK)2016-01-01 to 2017-06-30Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.5pureINF
190000789019 (http://www.sec.gov/CIK)2016-01-01 to 2017-06-30Other Postretirement Benefits Individual Contracts Type Of Deferred Compensation [Domain]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.5pureINF
200000789019 (http://www.sec.gov/CIK)2016-01-01 to 2017-06-30Plan Name [Domain]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.5pureINF
210000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30First Six Percent Of Participant Contributions [Member]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.5pureINF
220000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-12-31First Six Percent Of Participant Contributions [Member]Defined Contribution Plan Employer Matching Contribution Percent Of Match0.5pureINF
230000789019 (http://www.sec.gov/CIK)2017-06-30Restricted Stock [Member]Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized6500000000iso4217:USD-8
240000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Employee Service Share Based Compensation Nonvested Awards Total Compensation Cost Not Yet Recognized Period For Recognition1_1238180
250000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Performance Shares [Member]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1238770
260000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Executive Incentive Plan [Member]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1239360
270000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1239950
280000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1240552
290000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1241142
300000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1241744
310000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock Units R S U [Member]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1242334
320000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Executive Incentive Plan [Member]Share Based Compensation Arrangement By Share Based Payment Award Award Vesting Period1_1242924
330000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (label)42.36iso4217:USD/shares2
340000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (label)41.51iso4217:USD/shares2
350000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (label)55.64iso4217:USD/shares2
360000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Fair Value4200000000iso4217:USD-8
370000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Fair Value3900000000iso4217:USD-8
380000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Total Fair Value4800000000iso4217:USD-8
390000789019 (http://www.sec.gov/CIK)2015-06-30Employee Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Maximum Employee Subscription Rate0.15pureINF
400000789019 (http://www.sec.gov/CIK)2016-06-30Employee Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Maximum Employee Subscription Rate0.15pureINF
410000789019 (http://www.sec.gov/CIK)2017-06-30Employee Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Maximum Employee Subscription Rate0.15pureINF
420000789019 (http://www.sec.gov/CIK)2017-06-30Employee Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grant129000000shares-6
430000789019 (http://www.sec.gov/CIK)2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Available For Grant127000000shares-6
440000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Employee Stock [Member]Sharebased Compensation Arrangement By Sharebased Payment Award Purchase Price Of Common Stock Percent0.9pureINF
450000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Employee Stock [Member]Sharebased Compensation Arrangement By Sharebased Payment Award Purchase Price Of Common Stock Percent0.9pureINF
460000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Stock [Member]Sharebased Compensation Arrangement By Sharebased Payment Award Purchase Price Of Common Stock Percent0.9pureINF

Fact Table
Network
101130 - Disclosure - Stock-Based Compensation Expense and Related Income Tax Benefits (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockBasedCompensationExpenseAndRelatedIncomeTaxBenefitsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101140 - Disclosure - Assumptions Used in Estimating the Fair Value of Stock Award Grants (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureAssumptionsUsedInEstimatingFairValueOfStockAwardGrantsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30us-gaap:MaximumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.31iso4217:USD/sharesINF
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:MaximumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.36iso4217:USD/sharesINF
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MaximumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.39iso4217:USD/sharesINF
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30us-gaap:MinimumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.28iso4217:USD/sharesINF
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30us-gaap:MinimumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.31iso4217:USD/sharesINF
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30us-gaap:MinimumMember (label)Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Expected Dividends Per Share0.36iso4217:USD/sharesINF

Fact Table
Network
101150 - Disclosure - Stock Plan Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Assumed Acquisition In Period23000000shares-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Assumed In Acquisitions Weighted Average Grant Date Fair Value59.09iso4217:USD/shares2
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited In Period20000000shares-6
40000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeitures Weighted Average Grant Date Fair Value43.71iso4217:USD/shares2
50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod (label)84000000shares-6
60000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (label)42.36iso4217:USD/shares2
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (label)41.51iso4217:USD/shares2
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue (label)55.64iso4217:USD/shares2
90000789019 (http://www.sec.gov/CIK)2016-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber (label)194000000shares-6
100000789019 (http://www.sec.gov/CIK)2017-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber (label)201000000shares-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue (label)36.92iso4217:USD/shares2
120000789019 (http://www.sec.gov/CIK)2017-06-30Restricted Stock [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue (label)46.32iso4217:USD/shares2
130000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period80000000shares-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Restricted Stock [Member]Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Vested In Period Weighted Average Grant Date Fair Value37.36iso4217:USD/shares2

Fact Table
Network
101160 - Disclosure - Stock Plan Activity (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureStockPlanActivityParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Performance Shares [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod (label)1000000shares-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Performance Shares [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod (label)1000000shares-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Performance Shares [Member]us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod (label)2000000shares-6

Fact Table
Network
101170 - Disclosure - Employee Purchased Shares (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureEmployeePurchasedSharesDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101180 - Disclosure - Segment Revenue (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentRevenueDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Corporate And Reconciling Items [Member]us-gaap:SalesRevenueNet (label)0iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Corporate And Reconciling Items [Member]us-gaap:SalesRevenueNet (label)-6643000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Corporate And Reconciling Items [Member]us-gaap:SalesRevenueNet (label)-6707000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)23715000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Intelligent Cloud [Member]us-gaap:SalesRevenueNet (label)23715000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)25042000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Intelligent Cloud [Member]us-gaap:SalesRevenueNet (label)25042000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)27440000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Intelligent Cloud [Member]us-gaap:SalesRevenueNet (label)27440000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)43435000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30More Personal Computing [Member]us-gaap:SalesRevenueNet (label)43435000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)40434000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30More Personal Computing [Member]us-gaap:SalesRevenueNet (label)40434000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)38773000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30More Personal Computing [Member]us-gaap:SalesRevenueNet (label)38773000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)26430000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Productivity And Business Processes [Member]us-gaap:SalesRevenueNet (label)26430000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)26487000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Productivity And Business Processes [Member]us-gaap:SalesRevenueNet (label)26487000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Operating Segments [Member]us-gaap:SalesRevenueNet (label)30444000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Productivity And Business Processes [Member]us-gaap:SalesRevenueNet (label)30444000000iso4217:USD-6

Fact Table
Network
101190 - Disclosure - Operating Income (Loss) by Segment (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureOperatingIncomeLossBySegmentDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-10011000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-7753000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-7013000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)0iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-6643000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-6707000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-10011000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-1110000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-306000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)9803000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Intelligent Cloud [Member]us-gaap:OperatingIncomeLoss (label)9803000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)9315000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Intelligent Cloud [Member]us-gaap:OperatingIncomeLoss (label)9315000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)9138000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Intelligent Cloud [Member]us-gaap:OperatingIncomeLoss (label)9138000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)5095000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30More Personal Computing [Member]us-gaap:OperatingIncomeLoss (label)5095000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)6202000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30More Personal Computing [Member]us-gaap:OperatingIncomeLoss (label)6202000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)8288000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30More Personal Computing [Member]us-gaap:OperatingIncomeLoss (label)8288000000iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)13274000000iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Productivity And Business Processes [Member]us-gaap:OperatingIncomeLoss (label)13274000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)12418000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Productivity And Business Processes [Member]us-gaap:OperatingIncomeLoss (label)12418000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Operating Segments [Member]us-gaap:OperatingIncomeLoss (label)11913000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Productivity And Business Processes [Member]us-gaap:OperatingIncomeLoss (label)11913000000iso4217:USD-6

Fact Table
Network
101200 - Disclosure - Corporate and Other Operating Income (Loss) Activity (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureCorporateAndOtherOperatingIncomeLossActivityDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-10011000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-7753000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-7013000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)0iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30msft:WindowsTenDeferralMember (label)us-gaap:OperatingIncomeLoss (label)0iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-6643000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:WindowsTenDeferralMember (label)us-gaap:OperatingIncomeLoss (label)-6643000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-6707000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:WindowsTenDeferralMember (label)us-gaap:OperatingIncomeLoss (label)-6707000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-10011000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Impairment Integration And Restructuring Expenses [Member]us-gaap:OperatingIncomeLoss (label)-10011000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-1110000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Impairment Integration And Restructuring Expenses [Member]us-gaap:OperatingIncomeLoss (label)-1110000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Corporate And Reconciling Items [Member]us-gaap:OperatingIncomeLoss (label)-306000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Impairment Integration And Restructuring Expenses [Member]us-gaap:OperatingIncomeLoss (label)-306000000iso4217:USD-6

Fact Table
Network
101210 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101220 - Disclosure - Revenue Classified by Major Geographic Areas (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedByMajorGeographicAreasDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Segment Geographical [Domain]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30UNITED STATESus-gaap:SalesRevenueNet (label)42941000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30UNITED STATESus-gaap:SalesRevenueNet (label)40578000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30UNITED STATESus-gaap:SalesRevenueNet (label)45248000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Non Us [Member]us-gaap:SalesRevenueNet (label)50639000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Non Us [Member]us-gaap:SalesRevenueNet (label)44742000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Non Us [Member]us-gaap:SalesRevenueNet (label)44702000000iso4217:USD-6

Fact Table
Network
101230 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Products And Services [Domain]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Products And Services [Domain]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Products And Services [Domain]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Products And Services [Domain]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Products And Services [Domain]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Products And Services [Domain]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Products And Services [Domain]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Products And Services [Domain]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Products And Services [Domain]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Products And Services [Domain]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Products And Services [Domain]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Advertising [Member]us-gaap:SalesRevenueNet (label)4557000000iso4217:USD-6
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Advertising [Member]us-gaap:SalesRevenueNet (label)6098000000iso4217:USD-6
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Advertising [Member]us-gaap:SalesRevenueNet (label)6971000000iso4217:USD-6
150000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Consulting And Product Support Services [Member]us-gaap:SalesRevenueNet (label)5090000000iso4217:USD-6
160000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Consulting And Product Support Services [Member]us-gaap:SalesRevenueNet (label)5641000000iso4217:USD-6
170000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Consulting And Product Support Services [Member]us-gaap:SalesRevenueNet (label)5588000000iso4217:USD-6
180000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Devices [Member]us-gaap:SalesRevenueNet (label)11602000000iso4217:USD-6
190000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Devices [Member]us-gaap:SalesRevenueNet (label)7466000000iso4217:USD-6
200000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Devices [Member]us-gaap:SalesRevenueNet (label)4557000000iso4217:USD-6
210000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30msft:LinkedInCorporationMember (label)us-gaap:SalesRevenueNet (label)0iso4217:USD-6
220000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:LinkedInCorporationMember (label)us-gaap:SalesRevenueNet (label)0iso4217:USD-6
230000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:LinkedInCorporationMember (label)us-gaap:SalesRevenueNet (label)2268000000iso4217:USD-6
240000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Microsoft Office System [Member]us-gaap:SalesRevenueNet (label)23538000000iso4217:USD-6
250000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Microsoft Office System [Member]us-gaap:SalesRevenueNet (label)23588000000iso4217:USD-6
260000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Microsoft Office System [Member]us-gaap:SalesRevenueNet (label)25389000000iso4217:USD-6
270000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Other Products And Services [Member]us-gaap:SalesRevenueNet (label)6234000000iso4217:USD-6
280000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Other Products And Services [Member]us-gaap:SalesRevenueNet (label)5851000000iso4217:USD-6
290000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Other Products And Services [Member]us-gaap:SalesRevenueNet (label)5538000000iso4217:USD-6
300000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Server Products And Tools [Member]us-gaap:SalesRevenueNet (label)18612000000iso4217:USD-6
310000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Server Products And Tools [Member]us-gaap:SalesRevenueNet (label)19177000000iso4217:USD-6
320000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Server Products And Tools [Member]us-gaap:SalesRevenueNet (label)21758000000iso4217:USD-6
330000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Windows Operating Systems For Computing Devices [Member]us-gaap:SalesRevenueNet (label)14826000000iso4217:USD-6
340000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Windows Operating Systems For Computing Devices [Member]us-gaap:SalesRevenueNet (label)8104000000iso4217:USD-6
350000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Windows Operating Systems For Computing Devices [Member]us-gaap:SalesRevenueNet (label)8625000000iso4217:USD-6
360000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Xbox [Member]us-gaap:SalesRevenueNet (label)9121000000iso4217:USD-6
370000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Xbox [Member]us-gaap:SalesRevenueNet (label)9395000000iso4217:USD-6
380000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Xbox [Member]us-gaap:SalesRevenueNet (label)9256000000iso4217:USD-6

Fact Table
Network
101240 - Disclosure - Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureRevenueClassifiedBySignificantProductAndServiceOfferingsParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)93580000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)20379000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)85320000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)23796000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)20531000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)20614000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)20453000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)89950000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)24090000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)22090000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Products Or Services Name Secondary Categorization [Domain]us-gaap:SalesRevenueNet (label)23317000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2014-07-01 to 2015-06-30Commercial Cloud [Member]us-gaap:SalesRevenueNet (label)5800000000iso4217:USD-8
130000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30Commercial Cloud [Member]us-gaap:SalesRevenueNet (label)9500000000iso4217:USD-8
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Commercial Cloud [Member]us-gaap:SalesRevenueNet (label)14900000000iso4217:USD-8

Fact Table
Network
101250 - Disclosure - Long-Lived Assets, Excluding Financial Instruments and Tax Assets, Classified by Location of Controlling Statutory Company (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureLongLivedAssetsExcludingFinancialInstrumentsAndTaxAssetsClassifiedByLocationOfControllingStatutoryCompanyDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2015-06-30IRELANDNoncurrent Assets1595000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-06-30IRELANDNoncurrent Assets2078000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2017-06-30IRELANDNoncurrent Assets12876000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2015-06-30LUXEMBOURGNoncurrent Assets6879000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-06-30LUXEMBOURGNoncurrent Assets6854000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2017-06-30LUXEMBOURGNoncurrent Assets6845000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2015-06-30UNITED STATESNoncurrent Assets19562000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2016-06-30UNITED STATESNoncurrent Assets22819000000iso4217:USD-6
90000789019 (http://www.sec.gov/CIK)2017-06-30UNITED STATESNoncurrent Assets39118000000iso4217:USD-6
100000789019 (http://www.sec.gov/CIK)2015-06-30Other Countries [Member]Noncurrent Assets8469000000iso4217:USD-6
110000789019 (http://www.sec.gov/CIK)2016-06-30Other Countries [Member]Noncurrent Assets8210000000iso4217:USD-6
120000789019 (http://www.sec.gov/CIK)2017-06-30Other Countries [Member]Noncurrent Assets10123000000iso4217:USD-6

Fact Table
Network
101260 - Disclosure - Quarterly Information (Unaudited) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations

Fact Table
Network
101270 - Disclosure - Quarterly Information (Unaudited) (Parenthetical) (Detail)
(http://www.microsoft.com/20170630/taxonomy/role/DisclosureQuarterlyInformationUnauditedParentheticalDetail)
Table(implied)
#Reporting Entity [Axis]Period [Axis]Scenario [Axis]ConceptFact ValueUnitRoundingParenthetical Explanations
10000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30Phone Business [Member]us-gaap:AssetImpairmentCharges (label)630000000iso4217:USD-6
20000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
30000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
40000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30Sales And Marketing Restructuring Plan [Member]Restructuring Charges306000000iso4217:USD-6
50000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30Employee Severance [Member]Restructuring Charges306000000iso4217:USD-6
60000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:TwentySixteenRestructuringPlanMember (label)Restructuring Charges501000000iso4217:USD-6
70000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30msft:TwentySixteenRestructuringPlanMember (label)Restructuring Charges480000000iso4217:USD-6
80000789019 (http://www.sec.gov/CIK)2015-07-01 to 2015-09-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1300000000iso4217:USD-8
90000789019 (http://www.sec.gov/CIK)2015-07-01 to 2016-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)6600000000iso4217:USD-8
100000789019 (http://www.sec.gov/CIK)2015-10-01 to 2015-12-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1700000000iso4217:USD-8
110000789019 (http://www.sec.gov/CIK)2016-01-01 to 2016-03-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1600000000iso4217:USD-8
120000789019 (http://www.sec.gov/CIK)2016-04-01 to 2016-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)2000000000iso4217:USD-8
130000789019 (http://www.sec.gov/CIK)2016-07-01 to 2016-09-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1900000000iso4217:USD-8
140000789019 (http://www.sec.gov/CIK)2016-07-01 to 2017-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)6700000000iso4217:USD-8
150000789019 (http://www.sec.gov/CIK)2016-10-01 to 2016-12-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)2000000000iso4217:USD-8
160000789019 (http://www.sec.gov/CIK)2017-01-01 to 2017-03-31msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1500000000iso4217:USD-8
170000789019 (http://www.sec.gov/CIK)2017-04-01 to 2017-06-30msft:WindowsTenDeferralMember (label)us-gaap:SalesRevenueNet (label)1400000000iso4217:USD-8

 

Rules

TypeDefinedBoundDerivedOKFail
formula00000
existenceAssertion00000
valueAssertion00000
calculation21210350646389

Rule Details

TypeName Rule ExpressionProlog form
calculationus-gaap:WeightedAverageNumberOfDilutedSharesOutstanding (in DisclosureBasicAndDilutedEarningsPerShareDetail)
  • derived:0
  • ok:3
  • failed:0
 total=WeightedAverageNumberOfSharesOutstandingBasic_2*1.0+IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureBasicAndDilutedEarningsPerShareDetail','us-gaap':'WeightedAverageNumberOfDilutedSharesOutstanding') valueAssertion /* not loadable */
  total=WeightedAverageNumberOfSharesOutstandingBasic_2*1.0+IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_1*1.0
  variables
  total: [concept('us-gaap':'WeightedAverageNumberOfDilutedSharesOutstanding')],
  WeightedAverageNumberOfSharesOutstandingBasic_2: [concept('us-gaap':'WeightedAverageNumberOfSharesOutstandingBasic')],
  IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_1: [concept('us-gaap':'IncrementalCommonSharesAttributableToShareBasedPaymentArrangements')].
calculationus-gaap:InventoryNet (in DisclosureComponentsOfInventoriesDetail)
  • derived:0
  • ok:2
  • failed:0
 total=InventoryRawMaterialsNetOfReserves_3*1.0+(InventoryWorkInProcessNetOfReserves_2*1.0+InventoryFinishedGoodsNetOfReserves_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfInventoriesDetail','us-gaap':'InventoryNet') valueAssertion /* not loadable */
  total=InventoryRawMaterialsNetOfReserves_3*1.0+(InventoryWorkInProcessNetOfReserves_2*1.0+InventoryFinishedGoodsNetOfReserves_1*1.0)
  variables
  total: [concept('us-gaap':'InventoryNet')],
  InventoryRawMaterialsNetOfReserves_3: [concept('us-gaap':'InventoryRawMaterialsNetOfReserves')],
  InventoryWorkInProcessNetOfReserves_2: [concept('us-gaap':'InventoryWorkInProcessNetOfReserves')],
  InventoryFinishedGoodsNetOfReserves_1: [concept('us-gaap':'InventoryFinishedGoodsNetOfReserves')].
calculationus-gaap:NonoperatingIncomeExpense (in DisclosureComponentsOfOtherIncomeExpenseNetDetail)
  • derived:0
  • ok:3
  • failed:0
 total=InvestmentIncomeNet_6*1.0+(InterestExpense_5* -1.0+(GainLossOnInvestments_4*1.0+(GainLossOnDerivativeInstrumentsNetPretax_3*1.0+(ForeignCurrencyTransactionGainLossBeforeTax_2*1.0+OtherNonoperatingIncomeExpense_1*1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfOtherIncomeExpenseNetDetail','us-gaap':'NonoperatingIncomeExpense') valueAssertion /* not loadable */
  total=InvestmentIncomeNet_6*1.0+(InterestExpense_5* -1.0+(GainLossOnInvestments_4*1.0+(GainLossOnDerivativeInstrumentsNetPretax_3*1.0+(ForeignCurrencyTransactionGainLossBeforeTax_2*1.0+OtherNonoperatingIncomeExpense_1*1.0))))
  variables
  total: [concept('us-gaap':'NonoperatingIncomeExpense')],
  InvestmentIncomeNet_6: [concept('us-gaap':'InvestmentIncomeNet')],
  InterestExpense_5: [concept('us-gaap':'InterestExpense')],
  GainLossOnInvestments_4: [concept('us-gaap':'GainLossOnInvestments')],
  GainLossOnDerivativeInstrumentsNetPretax_3: [concept('us-gaap':'GainLossOnDerivativeInstrumentsNetPretax')],
  ForeignCurrencyTransactionGainLossBeforeTax_2: [concept('us-gaap':'ForeignCurrencyTransactionGainLossBeforeTax')],
  OtherNonoperatingIncomeExpense_1: [concept('us-gaap':'OtherNonoperatingIncomeExpense')].
calculationus-gaap:PropertyPlantAndEquipmentGross (in DisclosureComponentsOfPropertyAndEquipmentDetail)
  • derived:0
  • ok:2
  • failed:0
 total=Land_5*1.0+(BuildingsAndImprovementsGross_4*1.0+(LeaseholdImprovementsGross_3*1.0+(ComputerHardwareAndSoftware_2*1.0+FurnitureAndFixturesGross_1*1.0)))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfPropertyAndEquipmentDetail','us-gaap':'PropertyPlantAndEquipmentGross') valueAssertion /* not loadable */
  total=Land_5*1.0+(BuildingsAndImprovementsGross_4*1.0+(LeaseholdImprovementsGross_3*1.0+(ComputerHardwareAndSoftware_2*1.0+FurnitureAndFixturesGross_1*1.0)))
  variables
  total: [concept('us-gaap':'PropertyPlantAndEquipmentGross')],
  Land_5: [concept('us-gaap':'Land')],
  BuildingsAndImprovementsGross_4: [concept('us-gaap':'BuildingsAndImprovementsGross')],
  LeaseholdImprovementsGross_3: [concept('us-gaap':'LeaseholdImprovementsGross')],
  ComputerHardwareAndSoftware_2: [concept(msft:'ComputerHardwareAndSoftware')],
  FurnitureAndFixturesGross_1: [concept('us-gaap':'FurnitureAndFixturesGross')].
calculationus-gaap:PropertyPlantAndEquipmentNet (in DisclosureComponentsOfPropertyAndEquipmentDetail)
  • derived:0
  • ok:2
  • failed:0
 total=PropertyPlantAndEquipmentGross_2*1.0+AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureComponentsOfPropertyAndEquipmentDetail','us-gaap':'PropertyPlantAndEquipmentNet') valueAssertion /* not loadable */
  total=PropertyPlantAndEquipmentGross_2*1.0+AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_1* -1.0
  variables
  total: [concept('us-gaap':'PropertyPlantAndEquipmentNet')],
  PropertyPlantAndEquipmentGross_2: [concept('us-gaap':'PropertyPlantAndEquipmentGross')],
  AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_1: [concept('us-gaap':'AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment')].
calculationus-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis (in DisclosureDebtInvestmentMaturitiesDetail)
  • derived:0
  • ok:1
  • failed:0
 total=AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_4*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_3*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_2*1.0+AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_1*1.0))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtInvestmentMaturitiesDetail','us-gaap':'AvailableForSaleDebtSecuritiesAmortizedCostBasis') valueAssertion /* not loadable */
  total=AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_4*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_3*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_2*1.0+AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_1*1.0))
  variables
  total: [concept('us-gaap':'AvailableForSaleDebtSecuritiesAmortizedCostBasis')],
  AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_4: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis')],
  AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_3: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis')],
  AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis_2: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenAmortizedCostBasis')],
  AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis_1: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenAmortizedCostBasis')].
calculationus-gaap:AvailableForSaleSecuritiesDebtSecurities (in DisclosureDebtInvestmentMaturitiesDetail)
  • derived:0
  • ok:1
  • failed:0
 total=AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_4*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_3*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_2*1.0+AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_1*1.0))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDebtInvestmentMaturitiesDetail','us-gaap':'AvailableForSaleSecuritiesDebtSecurities') valueAssertion /* not loadable */
  total=AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_4*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_3*1.0+(AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_2*1.0+AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_1*1.0))
  variables
  total: [concept('us-gaap':'AvailableForSaleSecuritiesDebtSecurities')],
  AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_4: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue')],
  AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_3: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue')],
  AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue_2: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesRollingYearSixThroughTenFairValue')],
  AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue_1: [concept('us-gaap':'AvailableForSaleSecuritiesDebtMaturitiesRollingAfterYearTenFairValue')].
calculationus-gaap:DeferredIncomeTaxLiabilities (in DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
  • derived:0
  • ok:2
  • failed:0
 total=DeferredTaxLiabilitiesUndistributedForeignEarnings_4*1.0+(DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt_3*1.0+(DeferredTaxLiabilitiesDepreciationAndAmortization_2*1.0+DeferredTaxLiabilitiesOther_1*1.0))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail','us-gaap':'DeferredIncomeTaxLiabilities') valueAssertion /* not loadable */
  total=DeferredTaxLiabilitiesUndistributedForeignEarnings_4*1.0+(DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt_3*1.0+(DeferredTaxLiabilitiesDepreciationAndAmortization_2*1.0+DeferredTaxLiabilitiesOther_1*1.0))
  variables
  total: [concept('us-gaap':'DeferredIncomeTaxLiabilities')],
  DeferredTaxLiabilitiesUndistributedForeignEarnings_4: [concept('us-gaap':'DeferredTaxLiabilitiesUndistributedForeignEarnings')],
  DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt_3: [concept(msft:'DeferredTaxLiabilitiesUnrealizedGainsInvestmentsAndDebt')],
  DeferredTaxLiabilitiesDepreciationAndAmortization_2: [concept(msft:'DeferredTaxLiabilitiesDepreciationAndAmortization')],
  DeferredTaxLiabilitiesOther_1: [concept('us-gaap':'DeferredTaxLiabilitiesOther')].
calculationus-gaap:DeferredTaxAssetsGross (in DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
  • derived:0
  • ok:2
  • failed:0
 total=DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_8*1.0+(DeferredTaxAssetsTaxDeferredExpenseOther_7*1.0+(DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges_6*1.0+(DeferredTaxAssetsDeferredIncome_5*1.0+(DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses_4*1.0+(DeferredTaxAssetsOperatingLossCarryforwards_3*1.0+(DeferredTaxAssetsDepreciationAndAmortization_2*1.0+DeferredTaxAssetsOther_1*1.0))))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail','us-gaap':'DeferredTaxAssetsGross') valueAssertion /* not loadable */
  total=DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_8*1.0+(DeferredTaxAssetsTaxDeferredExpenseOther_7*1.0+(DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges_6*1.0+(DeferredTaxAssetsDeferredIncome_5*1.0+(DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses_4*1.0+(DeferredTaxAssetsOperatingLossCarryforwards_3*1.0+(DeferredTaxAssetsDepreciationAndAmortization_2*1.0+DeferredTaxAssetsOther_1*1.0))))))
  variables
  total: [concept('us-gaap':'DeferredTaxAssetsGross')],
  DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_8: [concept('us-gaap':'DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost')],
  DeferredTaxAssetsTaxDeferredExpenseOther_7: [concept('us-gaap':'DeferredTaxAssetsTaxDeferredExpenseOther')],
  DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges_6: [concept('us-gaap':'DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsRestructuringCharges')],
  DeferredTaxAssetsDeferredIncome_5: [concept('us-gaap':'DeferredTaxAssetsDeferredIncome')],
  DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses_4: [concept('us-gaap':'DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsImpairmentLosses')],
  DeferredTaxAssetsOperatingLossCarryforwards_3: [concept('us-gaap':'DeferredTaxAssetsOperatingLossCarryforwards')],
  DeferredTaxAssetsDepreciationAndAmortization_2: [concept(msft:'DeferredTaxAssetsDepreciationAndAmortization')],
  DeferredTaxAssetsOther_1: [concept('us-gaap':'DeferredTaxAssetsOther')].
calculationus-gaap:DeferredTaxAssetsLiabilitiesNet (in DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
  • derived:0
  • ok:1
  • failed:0
 total=DeferredTaxAssetsNet_2*1.0+DeferredIncomeTaxLiabilities_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail','us-gaap':'DeferredTaxAssetsLiabilitiesNet') valueAssertion /* not loadable */
  total=DeferredTaxAssetsNet_2*1.0+DeferredIncomeTaxLiabilities_1* -1.0
  variables
  total: [concept('us-gaap':'DeferredTaxAssetsLiabilitiesNet')],
  DeferredTaxAssetsNet_2: [concept('us-gaap':'DeferredTaxAssetsNet')],
  DeferredIncomeTaxLiabilities_1: [concept('us-gaap':'DeferredIncomeTaxLiabilities')].
calculationus-gaap:DeferredTaxAssetsNet (in DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
  • derived:0
  • ok:2
  • failed:0
 total=DeferredTaxAssetsGross_2*1.0+DeferredTaxAssetsValuationAllowance_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail','us-gaap':'DeferredTaxAssetsNet') valueAssertion /* not loadable */
  total=DeferredTaxAssetsGross_2*1.0+DeferredTaxAssetsValuationAllowance_1* -1.0
  variables
  total: [concept('us-gaap':'DeferredTaxAssetsNet')],
  DeferredTaxAssetsGross_2: [concept('us-gaap':'DeferredTaxAssetsGross')],
  DeferredTaxAssetsValuationAllowance_1: [concept('us-gaap':'DeferredTaxAssetsValuationAllowance')].
calculationus-gaap:DeferredTaxLiabilities (in DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail)
  • derived:0
  • ok:1
  • failed:0
 total=DeferredTaxAssetsNet_2* -1.0+DeferredIncomeTaxLiabilities_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDeferredIncomeTaxAssetsAndLiabilitiesDetail','us-gaap':'DeferredTaxLiabilities') valueAssertion /* not loadable */
  total=DeferredTaxAssetsNet_2* -1.0+DeferredIncomeTaxLiabilities_1*1.0
  variables
  total: [concept('us-gaap':'DeferredTaxLiabilities')],
  DeferredTaxAssetsNet_2: [concept('us-gaap':'DeferredTaxAssetsNet')],
  DeferredIncomeTaxLiabilities_1: [concept('us-gaap':'DeferredIncomeTaxLiabilities')].
calculationus-gaap:EffectiveIncomeTaxRateContinuingOperations (in DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail)
  • derived:0
  • ok:0
  • failed:3
 total=EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_7*1.0+(EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_6*1.0+(EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses_5*1.0+(EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation_4* -1.0+(EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities_3* -1.0+(EffectiveIncomeTaxRateReconciliationInterestIncomeExpense_2*1.0+EffectiveIncomeTaxRateReconciliationOtherAdjustments_1*1.0)))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureDifferenceBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail','us-gaap':'EffectiveIncomeTaxRateContinuingOperations') valueAssertion /* not loadable */
  total=EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_7*1.0+(EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_6*1.0+(EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses_5*1.0+(EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation_4* -1.0+(EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities_3* -1.0+(EffectiveIncomeTaxRateReconciliationInterestIncomeExpense_2*1.0+EffectiveIncomeTaxRateReconciliationOtherAdjustments_1*1.0)))))
  variables
  total: [concept('us-gaap':'EffectiveIncomeTaxRateContinuingOperations')],
  EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_7: [concept('us-gaap':'EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate')],
  EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_6: [concept('us-gaap':'EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential')],
  EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses_5: [concept(msft:'EffectiveIncomeTaxRateReconciliationPhoneBusinessGainsLosses')],
  EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation_4: [concept(msft:'EffectiveIncomeTaxRateReconciliationDeductionsExcessTaxBenefitsStockBasedCompensation')],
  EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities_3: [concept('us-gaap':'EffectiveIncomeTaxRateReconciliationDeductionsQualifiedProductionActivities')],
  EffectiveIncomeTaxRateReconciliationInterestIncomeExpense_2: [concept(msft:'EffectiveIncomeTaxRateReconciliationInterestIncomeExpense')],
  EffectiveIncomeTaxRateReconciliationOtherAdjustments_1: [concept('us-gaap':'EffectiveIncomeTaxRateReconciliationOtherAdjustments')].
calculationus-gaap:FiniteLivedIntangibleAssetsNet (in DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail)
  • derived:0
  • ok:1
  • failed:0
 total=FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_6*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_5*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_4*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_2*1.0+FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_1*1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureEstimatedFutureAmortizationExpenseRelatedToIntangibleAssetsDetail','us-gaap':'FiniteLivedIntangibleAssetsNet') valueAssertion /* not loadable */
  total=FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_6*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_5*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_4*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3*1.0+(FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_2*1.0+FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_1*1.0))))
  variables
  total: [concept('us-gaap':'FiniteLivedIntangibleAssetsNet')],
  FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_6: [concept('us-gaap':'FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths')],
  FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_5: [concept('us-gaap':'FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo')],
  FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_4: [concept('us-gaap':'FiniteLivedIntangibleAssetsAmortizationExpenseYearThree')],
  FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_3: [concept('us-gaap':'FiniteLivedIntangibleAssetsAmortizationExpenseYearFour')],
  FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_2: [concept('us-gaap':'FiniteLivedIntangibleAssetsAmortizationExpenseYearFive')],
  FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_1: [concept('us-gaap':'FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive')].
calculationmsft:DerivativeAssetsNetAmountsPresentedInBalanceSheet (in DisclosureFairValuesOfDerivativeInstrumentsDetail)
  • derived:0
  • ok:26
  • failed:135
 total=DerivativeFairValueOfDerivativeAsset_2*1.0+DerivativeAssetFairValueGrossLiability_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail',msft:'DerivativeAssetsNetAmountsPresentedInBalanceSheet') valueAssertion /* not loadable */
  total=DerivativeFairValueOfDerivativeAsset_2*1.0+DerivativeAssetFairValueGrossLiability_1* -1.0
  variables
  total: [concept(msft:'DerivativeAssetsNetAmountsPresentedInBalanceSheet')],
  DerivativeFairValueOfDerivativeAsset_2: [concept('us-gaap':'DerivativeFairValueOfDerivativeAsset')],
  DerivativeAssetFairValueGrossLiability_1: [concept('us-gaap':'DerivativeAssetFairValueGrossLiability')].
calculationmsft:DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet (in DisclosureFairValuesOfDerivativeInstrumentsDetail)
  • derived:0
  • ok:7
  • failed:0
 total=DerivativeAssetsNetAmountsPresentedInBalanceSheet_3*1.0+(DerivativeFairValueOfDerivativeAssetAmountNotOffset_2*1.0+DerivativeCollateralRightToReclaimCash_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail',msft:'DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet') valueAssertion /* not loadable */
  total=DerivativeAssetsNetAmountsPresentedInBalanceSheet_3*1.0+(DerivativeFairValueOfDerivativeAssetAmountNotOffset_2*1.0+DerivativeCollateralRightToReclaimCash_1*1.0)
  variables
  total: [concept(msft:'DerivativeAssetsPotentialNetAmountsNotPresentedInBalanceSheet')],
  DerivativeAssetsNetAmountsPresentedInBalanceSheet_3: [concept(msft:'DerivativeAssetsNetAmountsPresentedInBalanceSheet')],
  DerivativeFairValueOfDerivativeAssetAmountNotOffset_2: [concept(msft:'DerivativeFairValueOfDerivativeAssetAmountNotOffset')],
  DerivativeCollateralRightToReclaimCash_1: [concept('us-gaap':'DerivativeCollateralRightToReclaimCash')].
calculationmsft:DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet (in DisclosureFairValuesOfDerivativeInstrumentsDetail)
  • derived:0
  • ok:10
  • failed:29
 total=DerivativeFairValueOfDerivativeLiability_2*1.0+DerivativeLiabilityFairValueGrossAsset_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail',msft:'DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet') valueAssertion /* not loadable */
  total=DerivativeFairValueOfDerivativeLiability_2*1.0+DerivativeLiabilityFairValueGrossAsset_1* -1.0
  variables
  total: [concept(msft:'DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet')],
  DerivativeFairValueOfDerivativeLiability_2: [concept('us-gaap':'DerivativeFairValueOfDerivativeLiability')],
  DerivativeLiabilityFairValueGrossAsset_1: [concept('us-gaap':'DerivativeLiabilityFairValueGrossAsset')].
calculationmsft:DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet (in DisclosureFairValuesOfDerivativeInstrumentsDetail)
  • derived:0
  • ok:3
  • failed:0
 total=DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet_3*1.0+(DerivativeFairValueOfDerivativeLiabilityAmountNotOffset_2*1.0+DerivativeCollateralObligationToReturnCash_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureFairValuesOfDerivativeInstrumentsDetail',msft:'DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet') valueAssertion /* not loadable */
  total=DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet_3*1.0+(DerivativeFairValueOfDerivativeLiabilityAmountNotOffset_2*1.0+DerivativeCollateralObligationToReturnCash_1*1.0)
  variables
  total: [concept(msft:'DerivativeLiabilitiesPotentialNetAmountsNotPresentedInBalanceSheet')],
  DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet_3: [concept(msft:'DerivativeLiabilitiesNetAmountsPresentedInBalanceSheet')],
  DerivativeFairValueOfDerivativeLiabilityAmountNotOffset_2: [concept(msft:'DerivativeFairValueOfDerivativeLiabilityAmountNotOffset')],
  DerivativeCollateralObligationToReturnCash_1: [concept('us-gaap':'DerivativeCollateralObligationToReturnCash')].
calculationus-gaap:FiniteLivedIntangibleAssetsNet (in DisclosureFiniteLivedIntangibleAssetsDetail)
  • derived:0
  • ok:10
  • failed:0
 total=FiniteLivedIntangibleAssetsGross_2*1.0+FiniteLivedIntangibleAssetsAccumulatedAmortization_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureFiniteLivedIntangibleAssetsDetail','us-gaap':'FiniteLivedIntangibleAssetsNet') valueAssertion /* not loadable */
  total=FiniteLivedIntangibleAssetsGross_2*1.0+FiniteLivedIntangibleAssetsAccumulatedAmortization_1* -1.0
  variables
  total: [concept('us-gaap':'FiniteLivedIntangibleAssetsNet')],
  FiniteLivedIntangibleAssetsGross_2: [concept('us-gaap':'FiniteLivedIntangibleAssetsGross')],
  FiniteLivedIntangibleAssetsAccumulatedAmortization_1: [concept('us-gaap':'FiniteLivedIntangibleAssetsAccumulatedAmortization')].
calculationus-gaap:CapitalLeasesFutureMinimumPaymentsDue (in DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail)
  • derived:0
  • ok:1
  • failed:0
 total=CapitalLeasesFutureMinimumPaymentsDueCurrent_6*1.0+(CapitalLeasesFutureMinimumPaymentsDueInTwoYears_5*1.0+(CapitalLeasesFutureMinimumPaymentsDueInThreeYears_4*1.0+(CapitalLeasesFutureMinimumPaymentsDueInFourYears_3*1.0+(CapitalLeasesFutureMinimumPaymentsDueInFiveYears_2*1.0+CapitalLeasesFutureMinimumPaymentsDueThereafter_1*1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumLeasePaymentsUnderNonCancellableCapitalLeasesDetail','us-gaap':'CapitalLeasesFutureMinimumPaymentsDue') valueAssertion /* not loadable */
  total=CapitalLeasesFutureMinimumPaymentsDueCurrent_6*1.0+(CapitalLeasesFutureMinimumPaymentsDueInTwoYears_5*1.0+(CapitalLeasesFutureMinimumPaymentsDueInThreeYears_4*1.0+(CapitalLeasesFutureMinimumPaymentsDueInFourYears_3*1.0+(CapitalLeasesFutureMinimumPaymentsDueInFiveYears_2*1.0+CapitalLeasesFutureMinimumPaymentsDueThereafter_1*1.0))))
  variables
  total: [concept('us-gaap':'CapitalLeasesFutureMinimumPaymentsDue')],
  CapitalLeasesFutureMinimumPaymentsDueCurrent_6: [concept('us-gaap':'CapitalLeasesFutureMinimumPaymentsDueCurrent')],
  CapitalLeasesFutureMinimumPaymentsDueInTwoYears_5: [concept('us-gaap':'CapitalLeasesFutureMinimumPaymentsDueInTwoYears')],
  CapitalLeasesFutureMinimumPaymentsDueInThreeYears_4: [concept('us-gaap':'CapitalLeasesFutureMinimumPaymentsDueInThreeYears')],
  CapitalLeasesFutureMinimumPaymentsDueInFourYears_3: [concept('us-gaap':'CapitalLeasesFutureMinimumPaymentsDueInFourYears')],
  CapitalLeasesFutureMinimumPaymentsDueInFiveYears_2: [concept('us-gaap':'CapitalLeasesFutureMinimumPaymentsDueInFiveYears')],
  CapitalLeasesFutureMinimumPaymentsDueThereafter_1: [concept('us-gaap':'CapitalLeasesFutureMinimumPaymentsDueThereafter')].
calculationus-gaap:OperatingLeasesFutureMinimumPaymentsDue (in DisclosureFutureMinimumRentalCommitmentsUnderNonCancellableOperatingLeasesDetail)
  • derived:0
  • ok:1
  • failed:0
 total=OperatingLeasesFutureMinimumPaymentsDueCurrent_6*1.0+(OperatingLeasesFutureMinimumPaymentsDueInTwoYears_5*1.0+(OperatingLeasesFutureMinimumPaymentsDueInThreeYears_4*1.0+(OperatingLeasesFutureMinimumPaymentsDueInFourYears_3*1.0+(OperatingLeasesFutureMinimumPaymentsDueInFiveYears_2*1.0+OperatingLeasesFutureMinimumPaymentsDueThereafter_1*1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureFutureMinimumRentalCommitmentsUnderNonCancellableOperatingLeasesDetail','us-gaap':'OperatingLeasesFutureMinimumPaymentsDue') valueAssertion /* not loadable */
  total=OperatingLeasesFutureMinimumPaymentsDueCurrent_6*1.0+(OperatingLeasesFutureMinimumPaymentsDueInTwoYears_5*1.0+(OperatingLeasesFutureMinimumPaymentsDueInThreeYears_4*1.0+(OperatingLeasesFutureMinimumPaymentsDueInFourYears_3*1.0+(OperatingLeasesFutureMinimumPaymentsDueInFiveYears_2*1.0+OperatingLeasesFutureMinimumPaymentsDueThereafter_1*1.0))))
  variables
  total: [concept('us-gaap':'OperatingLeasesFutureMinimumPaymentsDue')],
  OperatingLeasesFutureMinimumPaymentsDueCurrent_6: [concept('us-gaap':'OperatingLeasesFutureMinimumPaymentsDueCurrent')],
  OperatingLeasesFutureMinimumPaymentsDueInTwoYears_5: [concept('us-gaap':'OperatingLeasesFutureMinimumPaymentsDueInTwoYears')],
  OperatingLeasesFutureMinimumPaymentsDueInThreeYears_4: [concept('us-gaap':'OperatingLeasesFutureMinimumPaymentsDueInThreeYears')],
  OperatingLeasesFutureMinimumPaymentsDueInFourYears_3: [concept('us-gaap':'OperatingLeasesFutureMinimumPaymentsDueInFourYears')],
  OperatingLeasesFutureMinimumPaymentsDueInFiveYears_2: [concept('us-gaap':'OperatingLeasesFutureMinimumPaymentsDueInFiveYears')],
  OperatingLeasesFutureMinimumPaymentsDueThereafter_1: [concept('us-gaap':'OperatingLeasesFutureMinimumPaymentsDueThereafter')].
calculationus-gaap:GainLossOnFairValueHedgeIneffectivenessNet (in DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail)
  • derived:0
  • ok:6
  • failed:0
 total=ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_2*1.0+ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureGainsLossesOnFairValueHedgesAndRelatedHedgedItemsDetail','us-gaap':'GainLossOnFairValueHedgeIneffectivenessNet') valueAssertion /* not loadable */
  total=ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_2*1.0+ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_1*1.0
  variables
  total: [concept('us-gaap':'GainLossOnFairValueHedgeIneffectivenessNet')],
  ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_2: [concept('us-gaap':'ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1')],
  ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_1: [concept('us-gaap':'ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1')].
calculationus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments (in DisclosureIncomeLossBeforeIncomeTaxesDetail)
  • derived:0
  • ok:3
  • failed:0
 total=IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_2*1.0+IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureIncomeLossBeforeIncomeTaxesDetail','us-gaap':'IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments') valueAssertion /* not loadable */
  total=IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_2*1.0+IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_1*1.0
  variables
  total: [concept('us-gaap':'IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments')],
  IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_2: [concept('us-gaap':'IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic')],
  IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_1: [concept('us-gaap':'IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign')].
calculationus-gaap:AvailableForSaleSecuritiesAmortizedCost (in DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
  • derived:0
  • ok:22
  • failed:0
 total=AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3* -1.0+(AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2*1.0+AvailableForSaleSecurities_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail','us-gaap':'AvailableForSaleSecuritiesAmortizedCost') valueAssertion /* not loadable */
  total=AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3* -1.0+(AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2*1.0+AvailableForSaleSecurities_1*1.0)
  variables
  total: [concept('us-gaap':'AvailableForSaleSecuritiesAmortizedCost')],
  AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3: [concept('us-gaap':'AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax')],
  AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2: [concept('us-gaap':'AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax')],
  AvailableForSaleSecurities_1: [concept('us-gaap':'AvailableForSaleSecurities')].
calculationus-gaap:EquityMethodInvestmentAggregateCost (in DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail)
  • derived:0
  • ok:2
  • failed:0
 total=AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3* -1.0+(AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2*1.0+EquityMethodInvestments_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureInvestmentComponentsIncludingAssociatedDerivativesDetail','us-gaap':'EquityMethodInvestmentAggregateCost') valueAssertion /* not loadable */
  total=AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3* -1.0+(AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2*1.0+EquityMethodInvestments_1*1.0)
  variables
  total: [concept('us-gaap':'EquityMethodInvestmentAggregateCost')],
  AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3: [concept('us-gaap':'AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax')],
  AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_2: [concept('us-gaap':'AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax')],
  EquityMethodInvestments_1: [concept('us-gaap':'EquityMethodInvestments')].
calculationus-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet (in DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail)
  • derived:0
  • ok:1
  • failed:4
 total=BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_10*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities_9*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_8*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_7*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6*1.0+(Goodwill_5*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt_4* -1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_3* -1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_2* -1.0+BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet_1* -1.0))))))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureMajorClassesOfAssetsAndLiabilitiesToWhichWeAllocatedPurchasePriceDetail','us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet') valueAssertion /* not loadable */
  total=BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_10*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities_9*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_8*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_7*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6*1.0+(Goodwill_5*1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt_4* -1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_3* -1.0+(BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_2* -1.0+BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet_1* -1.0))))))))
  variables
  total: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_10: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities_9: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_8: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_7: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles')],
  Goodwill_5: [concept('us-gaap':'Goodwill')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt_4: [concept(msft:'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesShortTermDebt')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther_3: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesOther')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_2: [concept('us-gaap':'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent')],
  BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet_1: [concept(msft:'BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilitiesNet')].
calculationus-gaap:DebtInstrumentFaceAmount (in DisclosureMaturitiesOfLongTermDebtDetail)
  • derived:0
  • ok:1
  • failed:0
 total=LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_6*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_5*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_3*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_2*1.0+LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_1*1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureMaturitiesOfLongTermDebtDetail','us-gaap':'DebtInstrumentFaceAmount') valueAssertion /* not loadable */
  total=LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_6*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_5*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_3*1.0+(LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_2*1.0+LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_1*1.0))))
  variables
  total: [concept('us-gaap':'DebtInstrumentFaceAmount')],
  LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_6: [concept('us-gaap':'LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths')],
  LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_5: [concept('us-gaap':'LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo')],
  LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4: [concept('us-gaap':'LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree')],
  LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_3: [concept('us-gaap':'LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour')],
  LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_2: [concept('us-gaap':'LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive')],
  LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_1: [concept('us-gaap':'LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive')].
calculationus-gaap:GainLossOnInvestments (in DisclosureNetRecognizedGainsLossesOnInvestmentsDetail)
  • derived:0
  • ok:3
  • failed:0
 total=MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount_3* -1.0+(AvailableForSaleSecuritiesGrossRealizedGains_2*1.0+AvailableForSaleSecuritiesGrossRealizedLosses_1* -1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureNetRecognizedGainsLossesOnInvestmentsDetail','us-gaap':'GainLossOnInvestments') valueAssertion /* not loadable */
  total=MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount_3* -1.0+(AvailableForSaleSecuritiesGrossRealizedGains_2*1.0+AvailableForSaleSecuritiesGrossRealizedLosses_1* -1.0)
  variables
  total: [concept('us-gaap':'GainLossOnInvestments')],
  MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount_3: [concept('us-gaap':'MarketableSecuritiesRealizedGainLossOtherThanTemporaryImpairmentsAmount')],
  AvailableForSaleSecuritiesGrossRealizedGains_2: [concept('us-gaap':'AvailableForSaleSecuritiesGrossRealizedGains')],
  AvailableForSaleSecuritiesGrossRealizedLosses_1: [concept('us-gaap':'AvailableForSaleSecuritiesGrossRealizedLosses')].
calculationus-gaap:CurrentIncomeTaxExpenseBenefit (in DisclosureProvisionForIncomeTaxesDetail)
  • derived:0
  • ok:3
  • failed:0
 total=CurrentFederalTaxExpenseBenefit_3*1.0+(CurrentStateAndLocalTaxExpenseBenefit_2*1.0+CurrentForeignTaxExpenseBenefit_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureProvisionForIncomeTaxesDetail','us-gaap':'CurrentIncomeTaxExpenseBenefit') valueAssertion /* not loadable */
  total=CurrentFederalTaxExpenseBenefit_3*1.0+(CurrentStateAndLocalTaxExpenseBenefit_2*1.0+CurrentForeignTaxExpenseBenefit_1*1.0)
  variables
  total: [concept('us-gaap':'CurrentIncomeTaxExpenseBenefit')],
  CurrentFederalTaxExpenseBenefit_3: [concept('us-gaap':'CurrentFederalTaxExpenseBenefit')],
  CurrentStateAndLocalTaxExpenseBenefit_2: [concept('us-gaap':'CurrentStateAndLocalTaxExpenseBenefit')],
  CurrentForeignTaxExpenseBenefit_1: [concept('us-gaap':'CurrentForeignTaxExpenseBenefit')].
calculationus-gaap:IncomeTaxExpenseBenefit (in DisclosureProvisionForIncomeTaxesDetail)
  • derived:0
  • ok:3
  • failed:0
 total=CurrentIncomeTaxExpenseBenefit_2*1.0+DeferredIncomeTaxExpenseBenefit_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureProvisionForIncomeTaxesDetail','us-gaap':'IncomeTaxExpenseBenefit') valueAssertion /* not loadable */
  total=CurrentIncomeTaxExpenseBenefit_2*1.0+DeferredIncomeTaxExpenseBenefit_1*1.0
  variables
  total: [concept('us-gaap':'IncomeTaxExpenseBenefit')],
  CurrentIncomeTaxExpenseBenefit_2: [concept('us-gaap':'CurrentIncomeTaxExpenseBenefit')],
  DeferredIncomeTaxExpenseBenefit_1: [concept('us-gaap':'DeferredIncomeTaxExpenseBenefit')].
calculationus-gaap:AvailableForSaleSecurities (in DisclosureReconciliationOfTotalAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationDetail)
  • derived:0
  • ok:0
  • failed:0
 total=AssetsFairValueDisclosureRecurring_6*1.0+(Cash_5*1.0+(CostMethodInvestments_4*1.0+(EquityMethodInvestments_3*1.0+(DerivativeAssets_2*1.0+OtherAssetsFairValueDisclosure_1*1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureReconciliationOfTotalAssetsMeasuredAtFairValueOnRecurringBasisToBalanceSheetPresentationDetail','us-gaap':'AvailableForSaleSecurities') valueAssertion /* not loadable */
  total=AssetsFairValueDisclosureRecurring_6*1.0+(Cash_5*1.0+(CostMethodInvestments_4*1.0+(EquityMethodInvestments_3*1.0+(DerivativeAssets_2*1.0+OtherAssetsFairValueDisclosure_1*1.0))))
  variables
  total: [concept('us-gaap':'AvailableForSaleSecurities')],
  AssetsFairValueDisclosureRecurring_6: [concept('us-gaap':'AssetsFairValueDisclosureRecurring')],
  Cash_5: [concept('us-gaap':'Cash')],
  CostMethodInvestments_4: [concept('us-gaap':'CostMethodInvestments')],
  EquityMethodInvestments_3: [concept('us-gaap':'EquityMethodInvestments')],
  DerivativeAssets_2: [concept('us-gaap':'DerivativeAssets')],
  OtherAssetsFairValueDisclosure_1: [concept('us-gaap':'OtherAssetsFairValueDisclosure')].
calculationus-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (in DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail)
  • derived:0
  • ok:6
  • failed:0
 total=OciBeforeReclassificationsNetOfTaxAttributableToParent_2*1.0+ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail','us-gaap':'OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent') valueAssertion /* not loadable */
  total=OciBeforeReclassificationsNetOfTaxAttributableToParent_2*1.0+ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_1* -1.0
  variables
  total: [concept('us-gaap':'OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent')],
  OciBeforeReclassificationsNetOfTaxAttributableToParent_2: [concept('us-gaap':'OciBeforeReclassificationsNetOfTaxAttributableToParent')],
  ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_1: [concept('us-gaap':'ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent')].
calculationus-gaap:ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent (in DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail)
  • derived:0
  • ok:6
  • failed:0
 total=ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_2*1.0+ReclassificationFromAociCurrentPeriodTax_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureSummaryOfChangesInAccumulatedOtherComprehensiveIncomeByComponentDetail','us-gaap':'ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent') valueAssertion /* not loadable */
  total=ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_2*1.0+ReclassificationFromAociCurrentPeriodTax_1* -1.0
  variables
  total: [concept('us-gaap':'ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent')],
  ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_2: [concept('us-gaap':'ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent')],
  ReclassificationFromAociCurrentPeriodTax_1: [concept('us-gaap':'ReclassificationFromAociCurrentPeriodTax')].
calculationus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss (in DisclosureUnrealizedLossesOnInvestmentsDetail)
  • derived:0
  • ok:14
  • failed:0
 total=AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2*1.0+AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnrealizedLossesOnInvestmentsDetail','us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss') valueAssertion /* not loadable */
  total=AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2*1.0+AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_1*1.0
  variables
  total: [concept('us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss')],
  AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_2: [concept('us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss')],
  AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_1: [concept('us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss')].
calculationus-gaap:AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue (in DisclosureUnrealizedLossesOnInvestmentsDetail)
  • derived:0
  • ok:14
  • failed:0
 total=AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_2*1.0+AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/DisclosureUnrealizedLossesOnInvestmentsDetail','us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue') valueAssertion /* not loadable */
  total=AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_2*1.0+AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_1*1.0
  variables
  total: [concept('us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue')],
  AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_2: [concept('us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue')],
  AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_1: [concept('us-gaap':'AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue')].
calculationus-gaap:Assets (in StatementBALANCESHEETS)
  • derived:0
  • ok:2
  • failed:0
 total=AssetsCurrent_6*1.0+(PropertyPlantAndEquipmentNet_5*1.0+(LongTermInvestments_4*1.0+(Goodwill_3*1.0+(FiniteLivedIntangibleAssetsNet_2*1.0+OtherAssetsNoncurrent_1*1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS','us-gaap':'Assets') valueAssertion /* not loadable */
  total=AssetsCurrent_6*1.0+(PropertyPlantAndEquipmentNet_5*1.0+(LongTermInvestments_4*1.0+(Goodwill_3*1.0+(FiniteLivedIntangibleAssetsNet_2*1.0+OtherAssetsNoncurrent_1*1.0))))
  variables
  total: [concept('us-gaap':'Assets')],
  AssetsCurrent_6: [concept('us-gaap':'AssetsCurrent')],
  PropertyPlantAndEquipmentNet_5: [concept('us-gaap':'PropertyPlantAndEquipmentNet')],
  LongTermInvestments_4: [concept('us-gaap':'LongTermInvestments')],
  Goodwill_3: [concept('us-gaap':'Goodwill')],
  FiniteLivedIntangibleAssetsNet_2: [concept('us-gaap':'FiniteLivedIntangibleAssetsNet')],
  OtherAssetsNoncurrent_1: [concept('us-gaap':'OtherAssetsNoncurrent')].
calculationus-gaap:AssetsCurrent (in StatementBALANCESHEETS)
  • derived:0
  • ok:2
  • failed:0
 total=CashCashEquivalentsAndShortTermInvestments_4*1.0+(AccountsReceivableNetCurrent_3*1.0+(InventoryNet_2*1.0+OtherAssetsCurrent_1*1.0))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS','us-gaap':'AssetsCurrent') valueAssertion /* not loadable */
  total=CashCashEquivalentsAndShortTermInvestments_4*1.0+(AccountsReceivableNetCurrent_3*1.0+(InventoryNet_2*1.0+OtherAssetsCurrent_1*1.0))
  variables
  total: [concept('us-gaap':'AssetsCurrent')],
  CashCashEquivalentsAndShortTermInvestments_4: [concept('us-gaap':'CashCashEquivalentsAndShortTermInvestments')],
  AccountsReceivableNetCurrent_3: [concept('us-gaap':'AccountsReceivableNetCurrent')],
  InventoryNet_2: [concept('us-gaap':'InventoryNet')],
  OtherAssetsCurrent_1: [concept('us-gaap':'OtherAssetsCurrent')].
calculationus-gaap:CashCashEquivalentsAndShortTermInvestments (in StatementBALANCESHEETS)
  • derived:0
  • ok:2
  • failed:0
 total=CashAndCashEquivalentsAtCarryingValue_2*1.0+AvailableForSaleSecuritiesCurrent_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS','us-gaap':'CashCashEquivalentsAndShortTermInvestments') valueAssertion /* not loadable */
  total=CashAndCashEquivalentsAtCarryingValue_2*1.0+AvailableForSaleSecuritiesCurrent_1*1.0
  variables
  total: [concept('us-gaap':'CashCashEquivalentsAndShortTermInvestments')],
  CashAndCashEquivalentsAtCarryingValue_2: [concept('us-gaap':'CashAndCashEquivalentsAtCarryingValue')],
  AvailableForSaleSecuritiesCurrent_1: [concept('us-gaap':'AvailableForSaleSecuritiesCurrent')].
calculationus-gaap:Liabilities (in StatementBALANCESHEETS)
  • derived:0
  • ok:2
  • failed:0
 total=LiabilitiesCurrent_5*1.0+(LongTermDebtNoncurrent_4*1.0+(DeferredRevenueNoncurrent_3*1.0+(DeferredTaxLiabilitiesNoncurrent_2*1.0+OtherLiabilitiesNoncurrent_1*1.0)))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS','us-gaap':'Liabilities') valueAssertion /* not loadable */
  total=LiabilitiesCurrent_5*1.0+(LongTermDebtNoncurrent_4*1.0+(DeferredRevenueNoncurrent_3*1.0+(DeferredTaxLiabilitiesNoncurrent_2*1.0+OtherLiabilitiesNoncurrent_1*1.0)))
  variables
  total: [concept('us-gaap':'Liabilities')],
  LiabilitiesCurrent_5: [concept('us-gaap':'LiabilitiesCurrent')],
  LongTermDebtNoncurrent_4: [concept('us-gaap':'LongTermDebtNoncurrent')],
  DeferredRevenueNoncurrent_3: [concept('us-gaap':'DeferredRevenueNoncurrent')],
  DeferredTaxLiabilitiesNoncurrent_2: [concept('us-gaap':'DeferredTaxLiabilitiesNoncurrent')],
  OtherLiabilitiesNoncurrent_1: [concept('us-gaap':'OtherLiabilitiesNoncurrent')].
calculationus-gaap:LiabilitiesAndStockholdersEquity (in StatementBALANCESHEETS)
  • derived:0
  • ok:0
  • failed:0
 total=Liabilities_3*1.0+(CommitmentsAndContingencies_2*1.0+StockholdersEquity_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS','us-gaap':'LiabilitiesAndStockholdersEquity') valueAssertion /* not loadable */
  total=Liabilities_3*1.0+(CommitmentsAndContingencies_2*1.0+StockholdersEquity_1*1.0)
  variables
  total: [concept('us-gaap':'LiabilitiesAndStockholdersEquity')],
  Liabilities_3: [concept('us-gaap':'Liabilities')],
  CommitmentsAndContingencies_2: [concept('us-gaap':'CommitmentsAndContingencies')],
  StockholdersEquity_1: [concept('us-gaap':'StockholdersEquity')].
calculationus-gaap:LiabilitiesCurrent (in StatementBALANCESHEETS)
  • derived:0
  • ok:2
  • failed:0
 total=AccountsPayableCurrent_8*1.0+(ShortTermBorrowings_7*1.0+(LongTermDebtCurrent_6*1.0+(EmployeeRelatedLiabilitiesCurrent_5*1.0+(AccruedIncomeTaxesCurrent_4*1.0+(DeferredRevenueCurrent_3*1.0+(DepositsReceivedForSecuritiesLoanedAtCarryingValue_2*1.0+OtherLiabilitiesCurrent_1*1.0))))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS','us-gaap':'LiabilitiesCurrent') valueAssertion /* not loadable */
  total=AccountsPayableCurrent_8*1.0+(ShortTermBorrowings_7*1.0+(LongTermDebtCurrent_6*1.0+(EmployeeRelatedLiabilitiesCurrent_5*1.0+(AccruedIncomeTaxesCurrent_4*1.0+(DeferredRevenueCurrent_3*1.0+(DepositsReceivedForSecuritiesLoanedAtCarryingValue_2*1.0+OtherLiabilitiesCurrent_1*1.0))))))
  variables
  total: [concept('us-gaap':'LiabilitiesCurrent')],
  AccountsPayableCurrent_8: [concept('us-gaap':'AccountsPayableCurrent')],
  ShortTermBorrowings_7: [concept('us-gaap':'ShortTermBorrowings')],
  LongTermDebtCurrent_6: [concept('us-gaap':'LongTermDebtCurrent')],
  EmployeeRelatedLiabilitiesCurrent_5: [concept('us-gaap':'EmployeeRelatedLiabilitiesCurrent')],
  AccruedIncomeTaxesCurrent_4: [concept('us-gaap':'AccruedIncomeTaxesCurrent')],
  DeferredRevenueCurrent_3: [concept('us-gaap':'DeferredRevenueCurrent')],
  DepositsReceivedForSecuritiesLoanedAtCarryingValue_2: [concept('us-gaap':'DepositsReceivedForSecuritiesLoanedAtCarryingValue')],
  OtherLiabilitiesCurrent_1: [concept('us-gaap':'OtherLiabilitiesCurrent')].
calculationus-gaap:StockholdersEquity (in StatementBALANCESHEETS)
  • derived:0
  • ok:2
  • failed:0
 total=CommonStocksIncludingAdditionalPaidInCapital_3*1.0+(RetainedEarningsAccumulatedDeficit_2*1.0+AccumulatedOtherComprehensiveIncomeLossNetOfTax_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementBALANCESHEETS','us-gaap':'StockholdersEquity') valueAssertion /* not loadable */
  total=CommonStocksIncludingAdditionalPaidInCapital_3*1.0+(RetainedEarningsAccumulatedDeficit_2*1.0+AccumulatedOtherComprehensiveIncomeLossNetOfTax_1*1.0)
  variables
  total: [concept('us-gaap':'StockholdersEquity')],
  CommonStocksIncludingAdditionalPaidInCapital_3: [concept('us-gaap':'CommonStocksIncludingAdditionalPaidInCapital')],
  RetainedEarningsAccumulatedDeficit_2: [concept('us-gaap':'RetainedEarningsAccumulatedDeficit')],
  AccumulatedOtherComprehensiveIncomeLossNetOfTax_1: [concept('us-gaap':'AccumulatedOtherComprehensiveIncomeLossNetOfTax')].
calculationus-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease (in StatementCASHFLOWSSTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_4*1.0+(NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_3*1.0+(NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2*1.0+EffectOfExchangeRateOnCashAndCashEquivalents_1*1.0))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS','us-gaap':'CashAndCashEquivalentsPeriodIncreaseDecrease') valueAssertion /* not loadable */
  total=NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_4*1.0+(NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_3*1.0+(NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2*1.0+EffectOfExchangeRateOnCashAndCashEquivalents_1*1.0))
  variables
  total: [concept('us-gaap':'CashAndCashEquivalentsPeriodIncreaseDecrease')],
  NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_4: [concept('us-gaap':'NetCashProvidedByUsedInOperatingActivitiesContinuingOperations')],
  NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_3: [concept('us-gaap':'NetCashProvidedByUsedInFinancingActivitiesContinuingOperations')],
  NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_2: [concept('us-gaap':'NetCashProvidedByUsedInInvestingActivitiesContinuingOperations')],
  EffectOfExchangeRateOnCashAndCashEquivalents_1: [concept('us-gaap':'EffectOfExchangeRateOnCashAndCashEquivalents')].
calculationus-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations (in StatementCASHFLOWSSTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_7*1.0+(ProceedsFromDebtMaturingInMoreThanThreeMonths_6*1.0+(RepaymentsOfDebtMaturingInMoreThanThreeMonths_5* -1.0+(ProceedsFromIssuanceOfCommonStock_4*1.0+(PaymentsForRepurchaseOfCommonStock_3* -1.0+(PaymentsOfDividendsCommonStock_2* -1.0+ProceedsFromPaymentsForOtherFinancingActivities_1*1.0)))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS','us-gaap':'NetCashProvidedByUsedInFinancingActivitiesContinuingOperations') valueAssertion /* not loadable */
  total=ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_7*1.0+(ProceedsFromDebtMaturingInMoreThanThreeMonths_6*1.0+(RepaymentsOfDebtMaturingInMoreThanThreeMonths_5* -1.0+(ProceedsFromIssuanceOfCommonStock_4*1.0+(PaymentsForRepurchaseOfCommonStock_3* -1.0+(PaymentsOfDividendsCommonStock_2* -1.0+ProceedsFromPaymentsForOtherFinancingActivities_1*1.0)))))
  variables
  total: [concept('us-gaap':'NetCashProvidedByUsedInFinancingActivitiesContinuingOperations')],
  ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_7: [concept('us-gaap':'ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess')],
  ProceedsFromDebtMaturingInMoreThanThreeMonths_6: [concept('us-gaap':'ProceedsFromDebtMaturingInMoreThanThreeMonths')],
  RepaymentsOfDebtMaturingInMoreThanThreeMonths_5: [concept('us-gaap':'RepaymentsOfDebtMaturingInMoreThanThreeMonths')],
  ProceedsFromIssuanceOfCommonStock_4: [concept('us-gaap':'ProceedsFromIssuanceOfCommonStock')],
  PaymentsForRepurchaseOfCommonStock_3: [concept('us-gaap':'PaymentsForRepurchaseOfCommonStock')],
  PaymentsOfDividendsCommonStock_2: [concept('us-gaap':'PaymentsOfDividendsCommonStock')],
  ProceedsFromPaymentsForOtherFinancingActivities_1: [concept('us-gaap':'ProceedsFromPaymentsForOtherFinancingActivities')].
calculationus-gaap:NetCashProvidedByUsedInInvestingActivitiesContinuingOperations (in StatementCASHFLOWSSTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=PaymentsToAcquirePropertyPlantAndEquipment_6* -1.0+(AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets_5* -1.0+(PaymentsToAcquireInvestments_4* -1.0+(ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_3*1.0+(ProceedsFromSaleOfAvailableForSaleSecurities_2*1.0+IncreaseDecreaseInCollateralHeldUnderSecuritiesLending_1* -1.0))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS','us-gaap':'NetCashProvidedByUsedInInvestingActivitiesContinuingOperations') valueAssertion /* not loadable */
  total=PaymentsToAcquirePropertyPlantAndEquipment_6* -1.0+(AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets_5* -1.0+(PaymentsToAcquireInvestments_4* -1.0+(ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_3*1.0+(ProceedsFromSaleOfAvailableForSaleSecurities_2*1.0+IncreaseDecreaseInCollateralHeldUnderSecuritiesLending_1* -1.0))))
  variables
  total: [concept('us-gaap':'NetCashProvidedByUsedInInvestingActivitiesContinuingOperations')],
  PaymentsToAcquirePropertyPlantAndEquipment_6: [concept('us-gaap':'PaymentsToAcquirePropertyPlantAndEquipment')],
  AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets_5: [concept(msft:'AcquisitionsNetOfCashAcquiredAndPurchasesOfIntangibleAndOtherAssets')],
  PaymentsToAcquireInvestments_4: [concept('us-gaap':'PaymentsToAcquireInvestments')],
  ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_3: [concept('us-gaap':'ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities')],
  ProceedsFromSaleOfAvailableForSaleSecurities_2: [concept('us-gaap':'ProceedsFromSaleOfAvailableForSaleSecurities')],
  IncreaseDecreaseInCollateralHeldUnderSecuritiesLending_1: [concept('us-gaap':'IncreaseDecreaseInCollateralHeldUnderSecuritiesLending')].
calculationus-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations (in StatementCASHFLOWSSTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=NetIncomeLoss_15*1.0+(AssetImpairmentCharges_14*1.0+(DepreciationAmortizationAndOther_13*1.0+(ShareBasedCompensation_12*1.0+(GainLossOnInvestmentsAndDerivativeInstruments_11* -1.0+(DeferredIncomeTaxExpenseBenefit_10*1.0+(IncreaseDecreaseInDeferredRevenue_9*1.0+(RecognitionOfDeferredRevenue_8* -1.0+(IncreaseDecreaseInAccountsReceivable_7* -1.0+(IncreaseDecreaseInInventories_6* -1.0+(IncreaseDecreaseInOtherCurrentAssets_5* -1.0+(IncreaseDecreaseInOtherNoncurrentAssets_4* -1.0+(IncreaseDecreaseInAccountsPayable_3*1.0+(IncreaseDecreaseInOtherCurrentLiabilities_2*1.0+IncreaseDecreaseInOtherNoncurrentLiabilities_1*1.0)))))))))))))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementCASHFLOWSSTATEMENTS','us-gaap':'NetCashProvidedByUsedInOperatingActivitiesContinuingOperations') valueAssertion /* not loadable */
  total=NetIncomeLoss_15*1.0+(AssetImpairmentCharges_14*1.0+(DepreciationAmortizationAndOther_13*1.0+(ShareBasedCompensation_12*1.0+(GainLossOnInvestmentsAndDerivativeInstruments_11* -1.0+(DeferredIncomeTaxExpenseBenefit_10*1.0+(IncreaseDecreaseInDeferredRevenue_9*1.0+(RecognitionOfDeferredRevenue_8* -1.0+(IncreaseDecreaseInAccountsReceivable_7* -1.0+(IncreaseDecreaseInInventories_6* -1.0+(IncreaseDecreaseInOtherCurrentAssets_5* -1.0+(IncreaseDecreaseInOtherNoncurrentAssets_4* -1.0+(IncreaseDecreaseInAccountsPayable_3*1.0+(IncreaseDecreaseInOtherCurrentLiabilities_2*1.0+IncreaseDecreaseInOtherNoncurrentLiabilities_1*1.0)))))))))))))
  variables
  total: [concept('us-gaap':'NetCashProvidedByUsedInOperatingActivitiesContinuingOperations')],
  NetIncomeLoss_15: [concept('us-gaap':'NetIncomeLoss')],
  AssetImpairmentCharges_14: [concept('us-gaap':'AssetImpairmentCharges')],
  DepreciationAmortizationAndOther_13: [concept(msft:'DepreciationAmortizationAndOther')],
  ShareBasedCompensation_12: [concept('us-gaap':'ShareBasedCompensation')],
  GainLossOnInvestmentsAndDerivativeInstruments_11: [concept(msft:'GainLossOnInvestmentsAndDerivativeInstruments')],
  DeferredIncomeTaxExpenseBenefit_10: [concept('us-gaap':'DeferredIncomeTaxExpenseBenefit')],
  IncreaseDecreaseInDeferredRevenue_9: [concept('us-gaap':'IncreaseDecreaseInDeferredRevenue')],
  RecognitionOfDeferredRevenue_8: [concept('us-gaap':'RecognitionOfDeferredRevenue')],
  IncreaseDecreaseInAccountsReceivable_7: [concept('us-gaap':'IncreaseDecreaseInAccountsReceivable')],
  IncreaseDecreaseInInventories_6: [concept('us-gaap':'IncreaseDecreaseInInventories')],
  IncreaseDecreaseInOtherCurrentAssets_5: [concept('us-gaap':'IncreaseDecreaseInOtherCurrentAssets')],
  IncreaseDecreaseInOtherNoncurrentAssets_4: [concept('us-gaap':'IncreaseDecreaseInOtherNoncurrentAssets')],
  IncreaseDecreaseInAccountsPayable_3: [concept('us-gaap':'IncreaseDecreaseInAccountsPayable')],
  IncreaseDecreaseInOtherCurrentLiabilities_2: [concept('us-gaap':'IncreaseDecreaseInOtherCurrentLiabilities')],
  IncreaseDecreaseInOtherNoncurrentLiabilities_1: [concept('us-gaap':'IncreaseDecreaseInOtherNoncurrentLiabilities')].
calculationus-gaap:ComprehensiveIncomeNetOfTax (in StatementCOMPREHENSIVEINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=NetIncomeLoss_2*1.0+OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTS','us-gaap':'ComprehensiveIncomeNetOfTax') valueAssertion /* not loadable */
  total=NetIncomeLoss_2*1.0+OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1*1.0
  variables
  total: [concept('us-gaap':'ComprehensiveIncomeNetOfTax')],
  NetIncomeLoss_2: [concept('us-gaap':'NetIncomeLoss')],
  OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_1: [concept('us-gaap':'OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent')].
calculationus-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent (in StatementCOMPREHENSIVEINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_3*1.0+(OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_2*1.0+OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_1*1.0)
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementCOMPREHENSIVEINCOMESTATEMENTS','us-gaap':'OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent') valueAssertion /* not loadable */
  total=OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_3*1.0+(OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_2*1.0+OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_1*1.0)
  variables
  total: [concept('us-gaap':'OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent')],
  OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_3: [concept('us-gaap':'OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax')],
  OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_2: [concept('us-gaap':'OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax')],
  OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_1: [concept('us-gaap':'OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax')].
calculationus-gaap:CostOfRevenue (in StatementINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=CostOfGoodsSold_2*1.0+CostOfServicesAndOther_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS','us-gaap':'CostOfRevenue') valueAssertion /* not loadable */
  total=CostOfGoodsSold_2*1.0+CostOfServicesAndOther_1*1.0
  variables
  total: [concept('us-gaap':'CostOfRevenue')],
  CostOfGoodsSold_2: [concept('us-gaap':'CostOfGoodsSold')],
  CostOfServicesAndOther_1: [concept(msft:'CostOfServicesAndOther')].
calculationus-gaap:GrossProfit (in StatementINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=SalesRevenueNet_2*1.0+CostOfRevenue_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS','us-gaap':'GrossProfit') valueAssertion /* not loadable */
  total=SalesRevenueNet_2*1.0+CostOfRevenue_1* -1.0
  variables
  total: [concept('us-gaap':'GrossProfit')],
  SalesRevenueNet_2: [concept('us-gaap':'SalesRevenueNet')],
  CostOfRevenue_1: [concept('us-gaap':'CostOfRevenue')].
calculationus-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments (in StatementINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=OperatingIncomeLoss_2*1.0+NonoperatingIncomeExpense_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS','us-gaap':'IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments') valueAssertion /* not loadable */
  total=OperatingIncomeLoss_2*1.0+NonoperatingIncomeExpense_1*1.0
  variables
  total: [concept('us-gaap':'IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments')],
  OperatingIncomeLoss_2: [concept('us-gaap':'OperatingIncomeLoss')],
  NonoperatingIncomeExpense_1: [concept('us-gaap':'NonoperatingIncomeExpense')].
calculationus-gaap:NetIncomeLoss (in StatementINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2*1.0+IncomeTaxExpenseBenefit_1* -1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS','us-gaap':'NetIncomeLoss') valueAssertion /* not loadable */
  total=IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2*1.0+IncomeTaxExpenseBenefit_1* -1.0
  variables
  total: [concept('us-gaap':'NetIncomeLoss')],
  IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2: [concept('us-gaap':'IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments')],
  IncomeTaxExpenseBenefit_1: [concept('us-gaap':'IncomeTaxExpenseBenefit')].
calculationus-gaap:OperatingIncomeLoss (in StatementINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=GrossProfit_5*1.0+(ResearchAndDevelopmentExpense_4* -1.0+(SellingAndMarketingExpense_3* -1.0+(GeneralAndAdministrativeExpense_2* -1.0+ImpairmentIntegrationAndRestructuringExpenses_1* -1.0)))
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS','us-gaap':'OperatingIncomeLoss') valueAssertion /* not loadable */
  total=GrossProfit_5*1.0+(ResearchAndDevelopmentExpense_4* -1.0+(SellingAndMarketingExpense_3* -1.0+(GeneralAndAdministrativeExpense_2* -1.0+ImpairmentIntegrationAndRestructuringExpenses_1* -1.0)))
  variables
  total: [concept('us-gaap':'OperatingIncomeLoss')],
  GrossProfit_5: [concept('us-gaap':'GrossProfit')],
  ResearchAndDevelopmentExpense_4: [concept('us-gaap':'ResearchAndDevelopmentExpense')],
  SellingAndMarketingExpense_3: [concept('us-gaap':'SellingAndMarketingExpense')],
  GeneralAndAdministrativeExpense_2: [concept('us-gaap':'GeneralAndAdministrativeExpense')],
  ImpairmentIntegrationAndRestructuringExpenses_1: [concept(msft:'ImpairmentIntegrationAndRestructuringExpenses')].
calculationus-gaap:SalesRevenueNet (in StatementINCOMESTATEMENTS)
  • derived:0
  • ok:3
  • failed:0
 total=SalesRevenueGoodsNet_2*1.0+SalesRevenueServicesAndOtherNet_1*1.0
calculation('http://www.microsoft.com/20170630/taxonomy/role/StatementINCOMESTATEMENTS','us-gaap':'SalesRevenueNet') valueAssertion /* not loadable */
  total=SalesRevenueGoodsNet_2*1.0+SalesRevenueServicesAndOtherNet_1*1.0
  variables
  total: [concept('us-gaap':'SalesRevenueNet')],
  SalesRevenueGoodsNet_2: [concept('us-gaap':'SalesRevenueGoodsNet')],
  SalesRevenueServicesAndOtherNet_1: [concept(msft:'SalesRevenueServicesAndOtherNet')].

Errors and Warnings

Other than rule related. The error Type is just a conjecture on the culprit, because some 'bad reports' may contain some XBRL feature we have not yet covered.

TypeWhereWhat
bad_reportloadContext/C_0000789019_20160501_20160501failed((simpleDate(2016-05-01),simpleDate(2016-05-01),2016-05-01@>2016-05-01))
bad_reportloadContext/C_0000789019_20170501_20170501failed((simpleDate(2017-05-01),simpleDate(2017-05-01),2017-05-01@>2017-05-01))

For more information: http://logicalcontracts.com/xbrl-and-sbrm-reporting/
DISCLAIMER: this analysis is provided by software still under development, and likely incomplete or even erroneous; do NOT use it other than for experimental, inconsequential purposes