XML 51 R42.htm IDEA: XBRL DOCUMENT
v3.22.1

Investments - Gross Unrealized Gains and (Losses) Aggregated by Investment Category (Detail) - USD ($) $ in Millions | Mar. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | $ 42 | $ 76
Investments, Estimated Fair Value | 42 | 76
Time Deposits and Certificates of Deposit [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 14 | 22
Investments, Estimated Fair Value | 14 | 22
Commercial Paper [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 15 | 42
Investments, Estimated Fair Value | 15 | 42
Corporate Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 1 |
Investments, Estimated Fair Value | 1 |
U.S. Treasury Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 12 | 11
Investments, Estimated Fair Value | 12 | 11
U.S. Agency Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost |  | 1
Investments, Estimated Fair Value |  | 1
Group Insurance Contracts [Member] | Long Term Investments [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Investments, Cost | 5 | 5
Investments, Gross Unrealized Gains | 1 | 1
Investments, Estimated Fair Value | $ 6 | $ 6

X
- Definition Amortized cost, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cumulative unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityCumulativeUnrecognizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=mksi_TimeDepositsAndCertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=mksi_GroupInsuranceContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mksi_Investment1Axis=mksi_LongTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |