XML 75 R62.htm IDEA: XBRL DOCUMENT
v3.22.4

Fair Value Measurements - Schedule of Fair Value of Assets and Liabilities Measured on Recurring Basis (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | $ 1 | $ 76
Short-term investments | 1 | 76
Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 42
Fair Value Measurements, Recurring [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 60 | 230
Derivatives-Pension and deferred compensation plan assets | 17 |
Total assets | 195 | 351
Total liabilities | $ 8 | $ 6
Derivative Liability, Statement of Financial Position [Extensible Enumeration] | Liabilities | Liabilities
Short-term investments | $ 1 | $ 77
Other current assets | 8 | 7
Total current assets | 69 | 314
Long-term investments |  | 6
Other assets | 126 | 31
Total long-term assets |  | 37
Other current liabilities | 8 | 1
Other liabilities |  | 5
Fair Value Measurements, Recurring [Member] | Interest Rate Hedge [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge-non-current | 104 | 9
Derivatives - interest rate hedge - non-current |  | 5
Fair Value Measurements, Recurring [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 7 | 4
Foreign exchange forward contracts | 8 | 1
Fair Value Measurements, Recurring [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign currency options |  | 3
Fair Value Measurements, Recurring [Member] | Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 42
Fair Value Measurements, Recurring [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | 6 | 6
Fair Value Measurements, Recurring [Member] | Israeli Pension Assets [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Pension assets |  | 20
Fair Value Measurements, Recurring [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 60 | 55
Fair Value Measurements, Recurring [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | 1 | 22
Fair Value Measurements, Recurring [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents |  | 175
Available-for-sale securities |  | 12
Fair Value Measurements, Recurring [Member] | U.S. Agency Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 1
Fair Value Measurements, Recurring [Member] | Mutual Funds and Exchange Traded Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Deferred compensation plan assets |  | 2
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 60 | 55
Derivatives-Pension and deferred compensation plan assets | 0 |
Total assets | 60 | 55
Total liabilities | $ 0 | $ 0
Derivative Liability, Statement of Financial Position [Extensible Enumeration] | Liabilities | Liabilities
Short-term investments | $ 0 | $ 0
Other current assets | 0 | 0
Total current assets | 60 | 55
Long-term investments |  | 0
Other assets | 0 | 0
Total long-term assets |  | 0
Other current liabilities | 0 | 0
Other liabilities |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Interest Rate Hedge [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge-non-current | 0 | 0
Derivatives - interest rate hedge - non-current |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 0 | 0
Foreign exchange forward contracts | 0 | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign currency options |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | 0 | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Israeli Pension Assets [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Pension assets |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 60 | 55
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | 0 | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents |  | 0
Available-for-sale securities |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | U.S. Agency Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 0
Fair Value Measurements, Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Mutual Funds and Exchange Traded Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Deferred compensation plan assets |  | 0
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 0 | 175
Derivatives-Pension and deferred compensation plan assets | 17 |
Total assets | 135 | 296
Total liabilities | $ 8 | $ 6
Derivative Liability, Statement of Financial Position [Extensible Enumeration] | Liabilities | Liabilities
Short-term investments | $ 1 | $ 77
Other current assets | 8 | 7
Total current assets | 9 | 259
Long-term investments |  | 6
Other assets | 126 | 31
Total long-term assets |  | 37
Other current liabilities | 8 | 1
Other liabilities |  | 5
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Interest Rate Hedge [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge-non-current | 104 | 9
Derivatives - interest rate hedge - non-current |  | 5
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 7 | 4
Foreign exchange forward contracts | 8 | 1
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign currency options |  | 3
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 42
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | 6 | 6
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Israeli Pension Assets [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Pension assets |  | 20
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | 1 | 22
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents |  | 175
Available-for-sale securities |  | 12
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | U.S. Agency Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 1
Fair Value Measurements, Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Mutual Funds and Exchange Traded Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Deferred compensation plan assets |  | 2
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 0 | 0
Derivatives-Pension and deferred compensation plan assets | 0 |
Total assets | 0 | 0
Total liabilities | $ 0 | $ 0
Derivative Liability, Statement of Financial Position [Extensible Enumeration] | Liabilities | Liabilities
Short-term investments | $ 0 | $ 0
Other current assets | 0 | 0
Total current assets | 0 | 0
Long-term investments |  | 0
Other assets | 0 | 0
Total long-term assets |  | 0
Other current liabilities | 0 | 0
Other liabilities |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Interest Rate Hedge [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-interest rate hedge-non-current | 0 | 0
Derivatives - interest rate hedge - non-current |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Foreign Exchange Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign exchange forward contracts | 0 | 0
Foreign exchange forward contracts | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Derivatives Foreign Currency Options [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Derivatives-foreign currency options |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Commercial Paper [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Group Insurance Contracts [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Israeli Pension Assets [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Pension assets |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Money Market Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents | 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Time Deposits and Certificates of Deposit [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities | $ 0 | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | U.S. Treasury Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash and cash equivalents |  | 0
Available-for-sale securities |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | U.S. Agency Obligations [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Available-for-sale securities |  | 0
Fair Value Measurements, Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Mutual Funds and Exchange Traded Funds [Member] |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Deferred compensation plan assets |  | $ 0

X
- Definition Current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_CurrentAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Deferred Compensation Plan Assets Fair Value Disclosure + References No definition available. + Details
Name: | mksi_DeferredCompensationPlanAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Non current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_NonCurrentAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Non current interest rate fair value hedge asset at fair value. + References No definition available. + Details
Name: | mksi_NonCurrentInterestRateFairValueHedgeAssetAtFairValue
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Non- current interest rate fair value hedge liabilities at fair value. + References No definition available. + Details
Name: | mksi_NonCurrentInterestRateFairValueHedgeLiabilitiesAtFairValue
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Other current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_OtherCurrentAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other current liabilities fair value disclosure. + References No definition available. + Details
Name: | mksi_OtherCurrentLiabilitiesFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Other non current assets fair value disclosure. + References No definition available. + Details
Name: | mksi_OtherNonCurrentAssetsFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other non current liabilities fair value disclosure. + References No definition available. + Details
Name: | mksi_OtherNonCurrentLiabilitiesFairValueDisclosure
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Pension and deferred compensation plan assets. + References No definition available. + Details
Name: | mksi_PensionAndDeferredCompensationPlanAssets
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26626-111562 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 https://asc.fasb.org/extlink&oid=126970911&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 https://asc.fasb.org/extlink&oid=126970911&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 asset, recognized in statement of financial position, for overfunded defined benefit pension and other postretirement plans. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 17 -URI https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=123453770&loc=d3e1703-114919 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(10)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=123453770&loc=d3e1731-114919 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes derivative liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 + Details
Name: | us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value as of the balance sheet date of all foreign currency derivative assets designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(1) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_ForeignCurrencyCashFlowHedgeAssetAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value as of the balance sheet date of all foreign currency derivative liabilities designated as cash flow hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (c)(1) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_ForeignCurrencyCashFlowHedgeLiabilityAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of asset contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward contracts, and swaps. + References No definition available. + Details
Name: | us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(8)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(g)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_ShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mksi_InterestRateHedgeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeOptionMember
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: | us-gaap_InvestmentTypeAxis=mksi_IsraeliPensionAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=mksi_MutualFundsAndExchangeTradedFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |